Compare commits
2 commits
8e56d5bd6d
...
3b6ec84e07
Author | SHA1 | Date | |
---|---|---|---|
Julien Oculi | 3b6ec84e07 | ||
Julien Oculi | 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"
|
||||
|
|
|
@ -40,7 +40,7 @@
|
|||
"@deno/gfm": "jsr:@deno/gfm@^0.8.2",
|
||||
"@jotsr/delayed": "jsr:@jotsr/delayed@^2.1.1",
|
||||
"@jotsr/smart-css-bundler": "jsr:@jotsr/smart-css-bundler@^0.3.0",
|
||||
"@preact/signals": "npm:@preact/signals@^1.2.3",
|
||||
"@preact/signals": "https://esm.sh/*@preact/signals@^1.2.3",
|
||||
"@preact/signals-core": "npm:@preact/signals-core@^1.6.1",
|
||||
"@simplewebauthn/browser": "npm:@simplewebauthn/browser@^10.0.0",
|
||||
"@simplewebauthn/server": "npm:@simplewebauthn/server@^10.0.0",
|
||||
|
@ -51,7 +51,7 @@
|
|||
"@std/json": "jsr:@std/json@^0.224.1",
|
||||
"@std/streams": "jsr:@std/streams@^0.224.5",
|
||||
"@univoq/": "https://deno.land/x/univoq@0.2.0/",
|
||||
"preact": "npm:preact@^10.22.1",
|
||||
"preact": "npm:preact@10.22.0",
|
||||
"univoq": "https://deno.land/x/univoq@0.2.0/mod.ts",
|
||||
"web-push": "npm:web-push@^3.6.7"
|
||||
},
|
||||
|
|
|
@ -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