Skip to content

Instantly share code, notes, and snippets.

@rickyhaswifi
Last active August 10, 2023 00:48

Revisions

  1. rickyhaswifi revised this gist Apr 16, 2020. No changes.
  2. rickyhaswifi revised this gist Apr 16, 2020. 1 changed file with 1 addition and 4 deletions.
    5 changes: 1 addition & 4 deletions netlify.toml
    Original file line number Diff line number Diff line change
    @@ -1,7 +1,4 @@
    https://stackoverflow.com/questions/58065603/netlify-renders-404-on-page-refresh-using-react-and-react-router



    #https://stackoverflow.com/questions/58065603/netlify-renders-404-on-page-refresh-using-react-and-react-router
    [[redirects]]
    from = "/*"
    to = "/index.html"
  3. rickyhaswifi created this gist Dec 31, 2019.
    8 changes: 8 additions & 0 deletions netlify.toml
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,8 @@
    https://stackoverflow.com/questions/58065603/netlify-renders-404-on-page-refresh-using-react-and-react-router



    [[redirects]]
    from = "/*"
    to = "/index.html"
    status = 200