The link to public fails if you put the parameter "base" and then remove it #6067
Labels
- P3: minor bug
An edge case that only affects very specific usage (priority)
feat: hmr
Related to HMR (scope)
What version of
astro
are you using?2.0.2
Are you using an SSR adapter? If so, which one?
No
What package manager are you using?
Tested with npm and pnpm
What operating system are you using?
Windows
Describe the Bug
The problem is that once you put the "base" parameter in the astro.config.mjs file, if you later remove it, it still keeps the base prefix.
Steps to reproduce:
npm create astro@latest
and it stops working as it still requires the "base". It shows a 404 code in the console.
Click on image to better view
Link to Minimal Reproducible Example
https://github.com/alejandrofan2/astro-bug-base
Participation
The text was updated successfully, but these errors were encountered: