Attachment not found if I don't refresh the page

I’ve created a page with some links to attachments (PDF)

When you click on a attachment, the pdf will open in a new page, but at first I will get a 404, unless a press reload, where the correct file will be downloaded.

What I’m doing wrong?
I’ve tried already to enable/disable pretty urls.


Hi @impronta48, welcome and thanks for the post.
How are you serving your pdf files when the pdf file route is navigated to?