You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Astro requires a complete URL, so buildOptions.site needs to be a complete URL, like http://awesome/lol/. However, all of the HTML links appear to be relative, and only sitemap.xml uses the complete URL.
In development, relative links like <img src="./assets/logo.svg" alt="Astro logo" /> may not work correctly in development (@matthewp).
Hey, this issue is out of date and may have been fixed in the latest version of Astro. If you can still reproduce the issue with the latest version of astro (npm install astro@next) please open a new issue and we can take a deeper look. 馃憤
This should be taken care of with a few recent fixes for building to subdirectories, as well as a chagne to how relative vs. absolute paths are handled. Open a new issue if you run into this again in astro@latest and we'll dig deeper!
Hi 馃憢馃徎 Coming back on this issue, i still have this issue with latest version of Astro. I updated the reproduction repository: https://github.com/Olyno/astro-base-bug
Edit: Moving to #4229, which is the same issue but with more informations.
What version of
astro
are you using?^0.21.11
What package manager are you using?
Yarn
What operating system are you using?
Linux
Describe the Bug
When building my site with another base path than
/
, it simply doesn't change it at build.Link to Minimal Reproducible Example
https://github.com/Olyno/astro-base-bug
The text was updated successfully, but these errors were encountered: