I have deployed my backend as web hosting and frontend as static website at render. although it is working fine but upon redirection when i try to refresh the page . it shows page not found . how to resolve this issue . is there any suggestions. My project is on MERN Stack(NodeJs environment).
It sounds like you’re describing client-side routing on a Static Site (e.g. React Router). You’ll need a rewrite for that, 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.