From fbea2ec59d475f1e9223dff018ef8b0023bf2c56 Mon Sep 17 00:00:00 2001 From: vbudko Date: Tue, 7 Nov 2023 10:06:55 +0000 Subject: [PATCH] Config update --- csp.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/csp.config.js b/csp.config.js index d06a666e..00f7c818 100644 --- a/csp.config.js +++ b/csp.config.js @@ -43,7 +43,7 @@ if (process.env.NODE_ENV !== 'production') { // Allow connection to the local hosts in development: // - local API is running on a different port // - `localhost` and `127.0.0.1` are not the same domain technically - config['connect-src'].push('localhost:* 127.0.0.1:*') + config['connect-src'].push('localhost:* 127.0.0.1:* api-dev.core.ac.uk') } const policy = Object.entries(config)