histoire
histoire copied to clipboard
Refresh doesn't work on Vercel deployment
Describe the bug
Refreshing the page leads to 404 on Vercel deployment.
I could fix it by adding a vercel.json with
{
"rewrites": [
{
"source": "/(.*)",
"destination": "/"
}
]
}
Reproduction
You can reproduce on this link: https://tune-qbc0q1amj-samuveth-s-team.vercel.app/story/src-components-tunecombobox-story-vue
System Info
Any system
Used Package Manager
yarn
Validations
- [X] Follow our Code of Conduct
- [X] Read the Contributing Guidelines.
- [X] Read the docs.
- [X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
- [X] Check that this is a concrete bug. For Q&A open a GitHub Discussion.
- [X] The provided reproduction is a minimal reproducible example of the bug.