Home
Support Forums

React route path not working in netlify but working in my laptop

https://619519371f139113ce626052--happy-tesla-218dfa.netlify.app/
this is what I want to deploy. I wrote default error page in case react route path went wrong.

This is project’s github address


If I changed url to http://localhost:3000/random-food in my laptop, I could see the page I want

But when I change url to put /random-food in netlify, it shows me just blank screen.

As I mentioned, I think it’s React route path problem in netlify but I can’t solve it.
Thank you for reading. And sorry that I couldn’t upload only 1 photo since I’m newbie here.
I wish it can solve easily :disappointed_relieved:

I checked your latest deploy and looks like you managed to fix this?