mirror of
https://github.com/rommapp/romm.git
synced 2026-11-28 17:48:31 +01:00
X-Accel-Redirect keeps only a few of the backend's response headers, so the Content-Security-Policy and nosniff headers set for inline files never reached the browser. Set them on the internal /library/ location, reusing the resources CSP that already exempts PDFs. Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>