I am new to vercel, I built a small web application in react. And I deploy my application in vercel. It was successfully deployed and works fine. in my scenario, I'm using React-router and it works fine while I'm clicking on link buttons, but when I refresh my webpage or write manually it does not load. It threw the 404: NOT_FOUND error. But the hard refresh only works fine in my base URL.
This only happened to the deployed server, not the local server.
I don't know what to do