0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2024-12-23 21:53:55 -05:00
astro/.changeset/six-grapes-look.md

553 B

astro
major

The value of import.meta.env.BASE_URL, which is derived from the base option, will no longer have a trailing slash added by default or when trailingSlash: "ignore" is set. The existing behavior of base in combination with trailingSlash: "always" or trailingSlash: "never" is unchanged.

If your base already has a trailing slash, no change is needed.

If your base does not have a trailing slash, add one to preserve the previous behaviour:

// astro.config.mjs
- base: 'my-base',
+ base: 'my-base/',