Fix #28 specify a CSP
This commit is contained in:
parent
1318b8f9c3
commit
cfa5a950f1
@ -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']
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user