You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Yep, that's definitely a bug! It looks like Astro's internal server is ignoring public files and jumps right to matching the route to src/pages
In the reproduction, if you add a favicon.ico file to public it will actually work as expected in dev but build still ignores public. We'll get this cleaned up soon!
What version of
astro
are you using?1.0.0-beta.57
Are you using an SSR adapter? If so, which one?
Node.js
What package manager are you using?
npm
What operating system are you using?
Linux (Ubuntu 22.04)
Describe the Bug
When using SSR, dynamic routes get unexpectedly triggered by static files.
This issue was initially found when using the
astro-i18next
component with SSR: yassinedoghri/astro-i18next#12I've mentioned this issue on discord https://discord.com/channels/830184174198718474/872579324446928896/990992832317759558
I guess this is not intended and may create side-effects.
To see the issue in the linked minimal reproduction:
npm run server
Link to Minimal Reproducible Example
https://stackblitz.com/edit/github-ewjnzr
Participation
The text was updated successfully, but these errors were encountered: