I have a 'download' button on my app, that references a PDF file in the public directory. This works fine when run locally, however when deployed to vercel it does not.
When trying to access 'http://domain.com/FILENAME' it does not work for this file, but does work for all the other image files stored in the public folder that are used in my app.
I read that Vercel does this on purpose?
Any suggestions?