Linking to pdf files inside public
folder doesn't work on routing.
#120
Labels
documentation
Improvements or additions to documentation
I have a repo that builds on top of solid-start here: https://github.com/nikitavoloboev/nikitavoloboev
I have a pdf file in public called
cv.pdf
: https://github.com/nikitavoloboev/nikitavoloboev/blob/main/public/cv.pdfIf I for example do this:
https://github.com/nikitavoloboev/nikitavoloboev/blob/a0ab2a594e77e0cbcc450de56099a15aa4691c06/src/components/Nav.tsx#L37
Inside the app if I go to this page, it will 404:
https://www.loom.com/share/900b34ae19904c59aed372d2a7457103
Not sure what I am doing wrong. I need to refresh the page for the PDF to actually show.
The text was updated successfully, but these errors were encountered: