mirror of
https://github.com/kccleoc/seedpgp-web.git
synced 2026-03-07 01:47:52 +08:00
polished items from the re-audit report by Claude, add Ubuntu live ISO method to README
This commit is contained in:
20
index.html
20
index.html
@@ -7,8 +7,22 @@
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>SeedPGP Web</title>
|
||||
|
||||
<!-- CSP is enforced by _headers file in production deployment -->
|
||||
<!-- No CSP in dev mode to allow Vite HMR -->
|
||||
<!-- Baseline CSP for generic builds.
|
||||
TailsOS builds override this via Makefile (build-tails target). -->
|
||||
<meta
|
||||
http-equiv="Content-Security-Policy"
|
||||
content="
|
||||
default-src 'self';
|
||||
script-src 'self' 'unsafe-inline';
|
||||
style-src 'self' 'unsafe-inline';
|
||||
img-src 'self' data: blob:;
|
||||
connect-src 'self';
|
||||
font-src 'self';
|
||||
object-src 'none';
|
||||
base-uri 'self';
|
||||
form-action 'none';
|
||||
"
|
||||
/>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
@@ -16,4 +30,4 @@
|
||||
<script type="module" src="/src/main.tsx"></script>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user