How to make a download from public directory (Next.js frontend)
I am using Next.js frontend and I want to add the user to download a pdf file. I created /src/public/a.pdf and put <a href="/a.pdf">xxxx</a> into the code. I always get 404. I checked every corner on the web. Can somebody point me in a direction how to do it correctly? Thanks,
V.
V.
