feat: self-hosted frontend JS (offline) + docker hardening
- Vendored epub.js/pdf.js+worker/JSZip/DOMPurify in static/vendor/ - reader.html/reader.js servono i JS da /static (niente CDN, offline-ready) - CSP: rimosse allowlist CDN, aggiunto worker-src 'self' blob: - Test CSP aggiornati; tutti 16 verdi; verificato smoke test offline in container
This commit is contained in:
1 parent
e62c50c616
commit
0f15b7958f
31 files changed
+1363
-215
No files matched your search
@@ -0,0 +1,17 @@
|
||||
.git
|
||||
.venv
|
||||
.venv.bak
|
||||
__pycache__
|
||||
*.pyc
|
||||
*.pyo
|
||||
uploads
|
||||
converted
|
||||
bookish.db
|
||||
docs
|
||||
.env
|
||||
.sisyphus
|
||||
*.md
|
||||
!README.md
|
||||
.dockerignore
|
||||
docker-compose.yml
|
||||
.git
|
||||
Reference in new issue
Block a user