0

The site works fine on local server, but after deploying to a remote server the page reload not loading component. It works only when clicked to nav links. The site is https://astrohimalaya.com/. Components created only for home and about. I can not refresh from about page. Help needed

1 Answers1

0

You need to configure URL Rewrites on your hosting. Basically anything that hits your domain needs to point back to the index.html and the frontend router will take care of the state/page to display.


https://firebase.google.com/docs/hosting/full-config#rewrites

Alex Roig
  • 1,534
  • 12
  • 18