Compare commits
3 commits
3b6ec84e07
...
3dd4f2cc21
Author | SHA1 | Date | |
---|---|---|---|
Julien Oculi | 3dd4f2cc21 | ||
Julien Oculi | 494c6b3a9f | ||
Julien Oculi | e4fc9d22ae |
|
@ -37,7 +37,7 @@
|
|||
":types": "./types.ts",
|
||||
"@cohabit/cohamail/": "./packages/@cohabit__cohamail@0.2.1/",
|
||||
"@cohabit/ressources_manager/": "./packages/@cohabit__ressources_manager@0.1.3/",
|
||||
"@deno/gfm": "jsr:@deno/gfm@^0.8.2",
|
||||
"@deno/gfm": "https://deno.land/x/gfm@0.6.0/mod.ts",
|
||||
"@jotsr/delayed": "jsr:@jotsr/delayed@^2.1.1",
|
||||
"@jotsr/smart-css-bundler": "jsr:@jotsr/smart-css-bundler@^0.3.0",
|
||||
"@preact/signals": "https://esm.sh/*@preact/signals@^1.2.3",
|
||||
|
|
|
@ -15,7 +15,8 @@ export function useCsp(
|
|||
frameAncestors: ["'none'"],
|
||||
upgradeInsecureRequests: true,
|
||||
styleSrc: [...trustedDomains, "'unsafe-inline'"], //set nonce to inline script
|
||||
manifestSrc: [`${ctx.url.origin}/manifest.json`],
|
||||
manifestSrc: [`${ctx.url.origin.replace('http:', 'https:')}/manifest.json`],
|
||||
baseUri: ["'none'"],
|
||||
imgSrc: [
|
||||
...trustedDomains,
|
||||
'data:',
|
||||
|
|
Loading…
Reference in a new issue