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..bbab8a7 100644 --- a/svelte.config.js +++ b/svelte.config.js @@ -12,7 +12,7 @@ const config = { csp: { directives: { 'default-src': ['self'], - 'script-src': ['unsafe-inline', 'self'], + 'script-src': ['unsafe-inline', 'self', 'https://scripts.simpleanalyticscdn.com'], 'style-src': ['unsafe-inline', 'self'], 'img-src': ['self', 'data:'], 'font-src': ['self', 'data:'],