security improvement and bugs fixing; modify makefile

This commit is contained in:
LC mac
2026-02-18 03:24:05 +08:00
parent 127b479f4f
commit 4da39b7b89
21 changed files with 52111 additions and 930 deletions

View File

@@ -3,11 +3,12 @@
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<title>SeedPGP v__APP_VERSION__</title>
<!-- Content Security Policy: Prevent XSS, malicious extensions, and external script injection -->
<link rel="icon" href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><rect width='100' height='100' rx='20' fill='%230d0d0d'/><text x='50' y='65' font-family='Arial' font-size='82' font-weight='bold' text-anchor='middle' fill='%23f7931a'>₿</text><circle cx='50' cy='50' r='38' fill='none' stroke='white' stroke-width='6' opacity='0.7'/></svg>">
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
<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 -->
</head>
<body>