Closed jasper2virtual closed 5 months ago
Hello @jasper2virtual. Please provide a minimal reproduction using a GitHub repository or StackBlitz. Issues marked with needs repro
will be closed if they have no activity within 3 days.
Yes, I have a GitHub repo, that can reproduce the problem. Here it is https://github.com/jasper2virtual/astroissue
This is a Astrojs project, you can reproduce the problem :
npm run dev
use browser to visit http://localhost:4321/e-index.html
Then the browser show 404 error
And it is weird that it show the page at http://localhost:4321/e-index/index.html
But the e-index.html can be built successfully, after 'npm run build'
Astro Info
If this issue only occurs in one browser, which browser is a problem?
No response
Describe the Bug
I create a page e-index.astro, and the astro config is build.format:"preserve"
In dev mode or preview mode, the 'e-index.html' page cannot found. But it can build successfully.
sample code : https://github.com/jasper2virtual/astroissue/tree/main/src/pages
What's the expected result?
in dev mode, to load the page e-index.html in browser
Link to Minimal Reproducible Example
n/a
Participation