move directives to svelte config
This commit is contained in:
parent
c3cdb04e0c
commit
7f36ff9e96
2 changed files with 3 additions and 2 deletions
|
|
@ -8,5 +8,4 @@ functions = "functions/"
|
|||
[headers.values]
|
||||
X-Frame-Options = "SAMEORIGIN"
|
||||
X-XSS-Protection = "0"
|
||||
X-Content-Type-Options = "nosniff"
|
||||
Content-Security-Policy = "default-src 'self' *.cloudinary.com *.typekit.net;"
|
||||
X-Content-Type-Options = "nosniff"
|
||||
|
|
@ -33,6 +33,8 @@ const config = {
|
|||
csp: {
|
||||
mode: 'auto',
|
||||
directives: {
|
||||
'default-src': ['self', '*.typekit.net'],
|
||||
'img-src': ['self', '*.cloudinary.com', 'data:'],
|
||||
'script-src': ['self', 'unsafe-eval', 'unsafe-inline']
|
||||
},
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue