mirror of
https://github.com/withastro/astro.git
synced 2024-12-23 21:53:55 -05:00
e58a92527f
The code path changed by this commit isn't only taken when running using Vite. If the site is configured with a base url which is different from `/` but does **not** end with `/` (for example, because `trailingSlash` is set to `never`), the `- 1` results in an off-by-one error when truncating the URL. By checking if the base url ends with `/`, we can determine the right length for the prefix to truncate. |
||
---|---|---|
.. | ||
config.json | ||
eleven-mugs-flash.md | ||
flat-candles-glow.md | ||
gold-rocks-cry.md | ||
heavy-kids-heal.md | ||
old-rivers-remember.md | ||
README.md | ||
six-moons-taste.md | ||
wicked-pumpkins-punch.md |
Changesets
Hello and welcome! This folder has been automatically generated by @changesets/cli
, a build tool that works
with multi-package repos, or single-package repos to help you version and publish your code. You can
find the full documentation for it in our repository
We have a quick list of common questions to get you started engaging with this project in our documentation