Deployed my app and getting 404 page not found


My site is a SPA - Reactjs

Clicking on the login page gives 404 error but works locally.

I do have a index.html in a folder called public.
I found a post mentioning to use a rewrite rule but I dont know where to put this.

/*    /index.html   200



hi there, before we dig in, did you see this brand new guide on debugging redirects?

I strongly suggest you give it a thorough read through and see if this fixes your problem:

if not, please post again, and we’ll try and troubleshoot.