Url path error on reload

I have my react running on MorAlis server with moralis Url, everything runs well but ones I refresh a page with parameters , I get error 404.

E.g./home/creator works but ones I refresh with/home/creator as url, I get 404 error

Since you’re using ReactJS, You have verify your router settings is properly configured