-
Notifications
You must be signed in to change notification settings - Fork 693
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Difference of behaviour between serve and http-server #631
Comments
serve needs at least |
See vercel/next.js#18775 for a reproducible minimal example |
Any update on this @eric-burel? We can't use I can't think of other solutions 🤔 |
Haven't checked in a while! Do you still have this issue? You'll probably want to access the right URL directly, maybe smth like "/index.html". |
Yep, problem still exists! We ended up using static-web-server. |
I'm curious what the difference is between |
can be resolved with serve.json {
"cleanUrls": false
,
"rewrites": [
{ "source": "/", "destination": "/index.html" }
]
} |
Hi, we have noticed some discrepancies between
serve
andhttp-server
when opening a Storybook static export.Issue is described here: storybookjs/storybook#10933
To sum it up, with
http-server
the first story opens correctly, but not withserve
, which seems a bit less reliable for yet unknown reasons.While you should get this (this is the result with
http-server
):It sounds like a failing redirection but I have no log message.
I have a reproduction, but not minimal, in Vulcan Next. That may still help to debug.
The text was updated successfully, but these errors were encountered: