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]
|
[headers.values]
|
||||||
X-Frame-Options = "SAMEORIGIN"
|
X-Frame-Options = "SAMEORIGIN"
|
||||||
X-XSS-Protection = "0"
|
X-XSS-Protection = "0"
|
||||||
X-Content-Type-Options = "nosniff"
|
X-Content-Type-Options = "nosniff"
|
||||||
Content-Security-Policy = "default-src 'self' *.cloudinary.com *.typekit.net;"
|
|
||||||
|
|
@ -33,6 +33,8 @@ const config = {
|
||||||
csp: {
|
csp: {
|
||||||
mode: 'auto',
|
mode: 'auto',
|
||||||
directives: {
|
directives: {
|
||||||
|
'default-src': ['self', '*.typekit.net'],
|
||||||
|
'img-src': ['self', '*.cloudinary.com', 'data:'],
|
||||||
'script-src': ['self', 'unsafe-eval', 'unsafe-inline']
|
'script-src': ['self', 'unsafe-eval', 'unsafe-inline']
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue