Deployed my app and getting 404 page not found

Hi,

My site is a SPA - Reactjs

https://awesome-bell-2316d3.netlify.app/

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

Help!

Thanks
Malcolm

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.