Pathname of site
in config file used for asset resolution in build
#5351
Labels
- P4: important
Violate documented behavior or significantly impacts performance (priority)
What version of
astro
are you using?1.6.5
Are you using an SSR adapter? If so, which one?
None
What package manager are you using?
npm
What operating system are you using?
StackBlitz
Describe the Bug
If you set
site
inastro.config.mjs
to a value that includes a pathname, this pathname is then used when resolving assets when the site is built.For example, a config like this:
works fine during dev, but in the build output produces stuff like:
Link to Minimal Reproducible Example
https://stackblitz.com/edit/github-yjclkt?file=astro.config.mjs
Participation
The text was updated successfully, but these errors were encountered: