Skip to content

Commit

Permalink
Include login authority to csp header for dev server
Browse files Browse the repository at this point in the history
  • Loading branch information
wkramer committed Feb 14, 2024
1 parent 9494760 commit 25c4812
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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('; '),
},
},
Expand Down

0 comments on commit 25c4812

Please sign in to comment.