diff --git a/src/routes/+layout.svelte b/src/routes/+layout.svelte index a188eb1..99ff0e3 100644 --- a/src/routes/+layout.svelte +++ b/src/routes/+layout.svelte @@ -1,11 +1,13 @@ + diff --git a/svelte.config.js b/svelte.config.js index 2cbc11b..ede0a2f 100644 --- a/svelte.config.js +++ b/svelte.config.js @@ -12,9 +12,10 @@ const config = { csp: { directives: { 'default-src': ['self'], - 'script-src': ['unsafe-inline', 'self'], + 'script-src': ['unsafe-inline', 'self', 'https://scripts.simpleanalyticscdn.com'], + 'connect-src': ['self', 'https://queue.simpleanalyticscdn.com'], 'style-src': ['unsafe-inline', 'self'], - 'img-src': ['self', 'data:'], + 'img-src': ['self', 'data:', 'https://queue.simpleanalyticscdn.com'], 'font-src': ['self', 'data:'], 'object-src': ['none'], 'frame-ancestors': ['none'],