histoire icon indicating copy to clipboard operation
histoire copied to clipboard

Refresh doesn't work on Vercel deployment

Open samuveth opened this issue 2 years ago • 0 comments

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

samuveth avatar Aug 03 '23 23:08 samuveth