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
As of late, the vercel adapter no longer passes the slug information to the 404 page, and slugs that need to be redirected that end in a '/' cause a 404 instead of being redirected.
Notice that a path of /en/ fails to redirect.
What's the expected result?
Previously, 404 pages had the slug so I could get the locale and have the correct assets and language.
Previously, redirects to pages ending in a slash were working, for example: /en/ successfully redirected to /en-ca/, but now it returns a 404.
Astro Info
Describe the Bug
As of late, the vercel adapter no longer passes the slug information to the 404 page, and slugs that need to be redirected that end in a '/' cause a 404 instead of being redirected.
Notice that a path of /en/ fails to redirect.
What's the expected result?
Previously, 404 pages had the slug so I could get the locale and have the correct assets and language.
Previously, redirects to pages ending in a slash were working, for example: /en/ successfully redirected to /en-ca/, but now it returns a 404.
Here is a repo with a reproduction: https://github.com/disrae/astro-404-and-redirects-errors
Link to Minimal Reproducible Example
https://astro-404-and-redirects-errors-git-main-disraes-projects.vercel.app/
Participation
The text was updated successfully, but these errors were encountered: