Question

Direct page access issue

  • Posted April 28, 2021
  • React

I deployed a MERN app on this platform. When I click a nav link for /contact, the intended component renders as expected; however, if I typed in the url/contact, I get a 404 error. I have the following routes: “/”, “/contact”, “/team” each route has a corresponding component. Any suggestions?

Subscribe
Share

Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!