Closed
Description
- Gitea version (or commit ref): 1.9.3
- Git version: 2.16.5
- Operating system: CentOS
- Database (use
[x]
):- PostgreSQL
- MySQL
- MSSQL
- SQLite
- Can you reproduce the bug at https://try.gitea.io:
- Yes (provide example URL)
- No
- Not relevant
- Log gist:
Description
PDF Files are not showing in the renderer, the /vendor/plugins/pdfjs/web/viewer.html?file=...pdf
request has X-Frame-Options: DENY
header. I can follow the link and serve the file, but the header option doesn't allow it to be in the iframe
. When I set the headers in my apache config, it doesn't apply to the /vendor/plugins/pdfjs/web/viewer.html?file=....pdf
requests.