Skip to content

Conversation

s1gr1d
Copy link
Member

@s1gr1d s1gr1d commented Jul 28, 2025

To share the route data from build-time with the server runtime, the data was written on globalThis. However, this resulted in actually modifying the server config of the working directory and not the build directory (dist folder).

This PR reverts this change for now, resulting in not having all server requests parametrized. We still do have some parametrization, as route parametrization was recently improved for Astro v4 as well (without the 'astro:routes:resolved' hook)

Fixes #17179

@s1gr1d s1gr1d merged commit 2524460 into v9 Jul 28, 2025
146 checks passed
@s1gr1d s1gr1d deleted the sig/astro-revert-route branch July 28, 2025 10:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants