Fix #28 specify a CSP

fix-ismusicvideo-detection
Max Nuding 2023-04-26 17:52:21 +02:00
parent 1318b8f9c3
commit cfa5a950f1
Signed by: phlaym
GPG Key ID: A06651BAB6777237
1 changed files with 9 additions and 0 deletions

View File

@ -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']
}
}
};