Static app (no build step) served by unprivileged nginx in a container: choose a font, size and theme, pick a character to highlight their lines and step through them, read in a distraction-free mode, or export a PDF via the print dialog (one page per original page). Includes the transcription of typescript pages 5-27 (pages 1-4 and 7 are missing in the original), a parser with node:test tests, and self-hosted OFL fonts. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01HA82gVRDXpoukzgMFumoJt
4 lines
310 B
PHP
4 lines
310 B
PHP
# Included in every location: nginx drops inherited add_header once a location sets its own.
|
|
add_header X-Content-Type-Options nosniff always;
|
|
add_header Referrer-Policy no-referrer always;
|
|
add_header Content-Security-Policy "default-src 'self'; style-src 'self' 'unsafe-inline'; img-src 'self' data:" always;
|