We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
astro
2.9.3
Node
npm
Mac
Chrome
Hello everyone, thanks a lot for checking this.
I set some redirects in astro.config.mjs:
astro.config.mjs
redirects: { '/my-account/my-bookings': '/nl/my-account/bookings', '/my-account/my-bookings/[hash]': '/nl/my-account/bookings/[hash]', '/my-account/my-profile': '/nl/my-account/profile', '/en/my-account/my-bookings': '/my-account/bookings', '/en/my-account/my-bookings/[hash]': '/my-account/bookings/[hash]', '/en/my-account/my-profile': '/my-account/profile', },
On dev everything work as expected but running the server will always get you redirected to /.
dev
/
The adapter should respect the redirects.
https://github.com/fprl/astro-redirects-repro
The text was updated successfully, but these errors were encountered:
matthewp
Successfully merging a pull request may close this issue.
What version of
astro
are you using?2.9.3
Are you using an SSR adapter? If so, which one?
Node
What package manager are you using?
npm
What operating system are you using?
Mac
What browser are you using?
Chrome
Describe the Bug
Hello everyone, thanks a lot for checking this.
I set some redirects in
astro.config.mjs
:On
dev
everything work as expected but running the server will always get you redirected to/
.What's the expected result?
The adapter should respect the redirects.
Link to Minimal Reproducible Example
https://github.com/fprl/astro-redirects-repro
Participation
The text was updated successfully, but these errors were encountered: