diff --git a/svelte.config.js b/svelte.config.js index 9444951..85b9660 100644 --- a/svelte.config.js +++ b/svelte.config.js @@ -12,6 +12,15 @@ const config = { // If your environment is not supported or you settled on a specific environment, switch out the adapter. // See https://kit.svelte.dev/docs/adapters for more information about adapters. adapter: adapter() + }, + + csp: { + directives: { + 'script-src': ['self'] + }, + reportOnly: { + 'script-src': ['self'] + } } };