Compare commits

..

No commits in common. "3dd4f2cc2176028aadadf34ed5d5b3c6a3b8cb59" and "3b6ec84e07cd2f68ea1ccee4a2453281db7bead4" have entirely different histories.

2 changed files with 2 additions and 3 deletions

View file

@ -37,7 +37,7 @@
":types": "./types.ts", ":types": "./types.ts",
"@cohabit/cohamail/": "./packages/@cohabit__cohamail@0.2.1/", "@cohabit/cohamail/": "./packages/@cohabit__cohamail@0.2.1/",
"@cohabit/ressources_manager/": "./packages/@cohabit__ressources_manager@0.1.3/", "@cohabit/ressources_manager/": "./packages/@cohabit__ressources_manager@0.1.3/",
"@deno/gfm": "https://deno.land/x/gfm@0.6.0/mod.ts", "@deno/gfm": "jsr:@deno/gfm@^0.8.2",
"@jotsr/delayed": "jsr:@jotsr/delayed@^2.1.1", "@jotsr/delayed": "jsr:@jotsr/delayed@^2.1.1",
"@jotsr/smart-css-bundler": "jsr:@jotsr/smart-css-bundler@^0.3.0", "@jotsr/smart-css-bundler": "jsr:@jotsr/smart-css-bundler@^0.3.0",
"@preact/signals": "https://esm.sh/*@preact/signals@^1.2.3", "@preact/signals": "https://esm.sh/*@preact/signals@^1.2.3",

View file

@ -15,8 +15,7 @@ export function useCsp(
frameAncestors: ["'none'"], frameAncestors: ["'none'"],
upgradeInsecureRequests: true, upgradeInsecureRequests: true,
styleSrc: [...trustedDomains, "'unsafe-inline'"], //set nonce to inline script styleSrc: [...trustedDomains, "'unsafe-inline'"], //set nonce to inline script
manifestSrc: [`${ctx.url.origin.replace('http:', 'https:')}/manifest.json`], manifestSrc: [`${ctx.url.origin}/manifest.json`],
baseUri: ["'none'"],
imgSrc: [ imgSrc: [
...trustedDomains, ...trustedDomains,
'data:', 'data:',