0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2024-12-16 21:46:22 -05:00
astro/.changeset/light-pears-accept.md
Emanuele Stoppa 15fa9babf3
fix(routing): correct redirects in dev (#12169)
* fix(routing): correct redirects in dev

* simplify code

* address feedback

* move delay inside the function, to keep the comment in one place
2024-10-09 16:24:34 +01:00

7 lines
276 B
Markdown

---
'astro': patch
---
Fixes a bug where configured redirects were incorrectly constructed when reading the file system.
This caused an issue where configuring a redirect in `astro.config.mjs` like `{ /old: /new }`, failed to trigger the correct redirect in the dev server.