Redirects that point from or to PDF files do not work #2141
novusnota
started this conversation in
Bugs & Feedback
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
What's interesting is that locally (and locally only), via
npx mint dev, the following redirects work:{ // ...prior docs.json contents... "redirects": [ { "source": "/file.pdf", "destination": "/resources/pdfs/file.pdf", "permanent": true } ] }However, they do NOT work in staging nor in production deployments. Moreover, symbolic links made with
ln -sdo not help.Please, add support for PDF redirects and/or other file types too.
Beta Was this translation helpful? Give feedback.
All reactions