EDIT: This is due to a bug related to i18n. No need to read and try to answer.
Hi.
Today I found myself suffering from a very strange error after a big refactor.
Small disclaimer:
Even if that was a big refactor, the changes regarding how a route was configured are so subtle that it is being almost impossible for me to to pinpoint what's actually different...
So I'll limit my explanation to what I have at this time, leaving aside changes from its previous state.
So, that's what I have, an .astro template in the following local path:
src/pages/email/confirm/[validationKey].astro
Inside that file, I set export const prerender = false to ensure that it's a dynamic route (astro's output is configured as hybrid).
Now, in the "preface" (before the ---), I perform some actions, and they actually work fine, I can see them logged on the console every time I visit a page (you can see it on the attached screenshot, printing 'J' is the last step of the "preface", so there is no error prior to that).
Also, on the "rendering" part, I commented out everything and just added static content, a Hello World to discard any problem related with the components...
but, as you can see... it's returning 404 (without content, not even the Hello World, to make it worse).
Any idea of what I might be doing wrong?