I have a mern stack website . when i refresh my page it show not found

this is the website when you login and you will redirect into teacher page. but when you refresh it it will send not found.
use: shahariaz@gmail.com
for login as there is no singup option


That sounds like the behavior of client-side routing (e.g. React Router). That requires a rewrite on a Static Site, covered in the docs here: https://render.com/docs/deploy-create-react-app#using-client-side-routing


This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.