From 25c48126e4a2e3fbb371b49182a7b61147eabe6f Mon Sep 17 00:00:00 2001 From: Werner Kramer Date: Wed, 14 Feb 2024 10:53:13 +0100 Subject: [PATCH] Include login authority to csp header for dev server --- vite.config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vite.config.ts b/vite.config.ts index 0929bb112..32a6903e1 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -17,7 +17,7 @@ export default defineConfig(({ mode }) => { `worker-src blob:`, `img-src 'self' data: blob: ${env.VITE_FEWS_WEBSERVICES_URL}`, `child-src blob:`, - `connect-src 'self' https://basemaps.cartocdn.com https://*.basemaps.cartocdn.com https://*.mapbox.com ${env.VITE_FEWS_WEBSERVICES_URL}`, + `connect-src 'self' https://basemaps.cartocdn.com https://*.basemaps.cartocdn.com https://*.mapbox.com https://login.microsoftonline.com ${env.VITE_FEWS_WEBSERVICES_URL}`, ].join('; '), }, },