mercredi 23 juin 2021

Cant access react website with manual route links [closed]

I was using netlify to deploy my app and I noticed that we cant access website using manual routes, and results in displaying 404 :

https://edurekaclone.netlify.app => WORKS

https://edurekaclone.netlify.app/courses/5b21ca3eet4r6fbccd471815 =>Does not works

Even simple routes when visited manually like /login, are not working

We have to First visit homepage and navigate to other routes/pages from there only.

I am using react-router-dom and its purely frontend without any server




Aucun commentaire:

Enregistrer un commentaire