basicSsl() removal ; Commenting CSP in index.html for dev

This commit is contained in:
LC mac
2026-02-19 23:39:49 +08:00
parent f1b0c0738e
commit 02f58f5ef0
3 changed files with 30 additions and 9 deletions

View File

@@ -8,21 +8,24 @@
<title>SeedPGP Web</title>
<!-- Baseline CSP for generic builds.
TailsOS builds override this via Makefile (build-tails target). -->
TailsOS builds override this via Makefile (build-tails target).
Commented out for development to avoid CSP issues with WebAssembly.
<meta
http-equiv="Content-Security-Policy"
content="
default-src 'self';
script-src 'self' 'unsafe-inline';
script-src 'self' 'unsafe-inline' 'wasm-unsafe-eval' 'unsafe-eval';
style-src 'self' 'unsafe-inline';
img-src 'self' data: blob:;
connect-src 'self';
connect-src 'self' blob: data:;
font-src 'self';
object-src 'none';
media-src 'self' blob:;
base-uri 'self';
form-action 'none';
"
/>
-->
</head>
<body>