feat(csp):
This commit is contained in:
parent
8e56d5bd6d
commit
168ba95549
3
.vscode/settings.json
vendored
3
.vscode/settings.json
vendored
|
@ -39,7 +39,8 @@
|
|||
"frontend",
|
||||
"components",
|
||||
"island",
|
||||
"backend"
|
||||
"backend",
|
||||
"csp"
|
||||
],
|
||||
"[ignore]": {
|
||||
"editor.defaultFormatter": "foxundermoon.shell-format"
|
||||
|
|
|
@ -19,8 +19,7 @@ export function useCsp(
|
|||
imgSrc: [
|
||||
...trustedDomains,
|
||||
'data:',
|
||||
'https://picsum.photos',
|
||||
'https://fastly.picsum.photos',
|
||||
'https:',
|
||||
],
|
||||
fontSrc: [...trustedDomains, 'https://cdn.jsdelivr.net'],
|
||||
scriptSrc: ["'self'", "'strict-dynamic'"],
|
||||
|
|
Loading…
Reference in a new issue