ed-roh/mern-social-media

deploy on Render, cant enter others' profile page, and cant refresh the page, they all will show NOT FOUND

newcodecareer opened this issue · 4 comments

deploy on Render, cant enter others' profile page, and cant refresh the page, they all will show NOT FOUND.
I just follow the video at the end of EDROH's next video-- MERN React Admin Dashboard, I deployed this one to render after deploying the server, and u will get a URL like this "https://[your service name].onrender.com", and then changed the localhost:3001 to this URL, it deployed success, but I get the issue as the title said.
Screen Shot 1

After changing the "http://localhost:3001" URL to Render URL, the warning "Mixed Content:"--the yellow part of the screenshot is gone. But still, can't go to the profile from the friend component part.

found the issue, when I comment out "navigate(0)" in the "friend component", it works.

Still can't refresh the web, anybody knows why?

Still can't refresh the web, anybody knows why?

Have you found out the issue now?
If yes, please tell