Skip to content

Instantly share code, notes, and snippets.

@vardhan1122
Forked from rickyhaswifi/netlify.toml
Created June 9, 2021 15:24
Show Gist options
  • Save vardhan1122/0766718c694467da652e5aec5f081c1b to your computer and use it in GitHub Desktop.
Save vardhan1122/0766718c694467da652e5aec5f081c1b to your computer and use it in GitHub Desktop.
React Router Netlify - Fix for not found page
#https://stackoverflow.com/questions/58065603/netlify-renders-404-on-page-refresh-using-react-and-react-router
[[redirects]]
from = "/*"
to = "/index.html"
status = 200
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment