Fix CSP config being in the wrong section

This commit is contained in:
Max Nuding 2023-06-20 15:09:48 +02:00
parent d57888678d
commit 185d28c295
Signed by: phlaym
GPG Key ID: A06651BAB6777237

View File

@ -11,8 +11,7 @@ const config = {
// adapter-auto only supports some environments, see https://kit.svelte.dev/docs/adapter-auto for a list.
// 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()
},
adapter: adapter(),
csp: {
directives: {
@ -22,6 +21,7 @@ const config = {
'script-src': ['self']
}
}
}
};
export default config;