Netlify fix

This commit is contained in:
2022-01-14 21:31:15 -03:00
parent 06c41892b9
commit 049796ccb5
3 changed files with 6 additions and 1 deletions

4
netlify.toml Normal file
View File

@@ -0,0 +1,4 @@
[[redirects]]
from = "/*"
to = "/index.html"
status = 200

View File

@@ -17,7 +17,7 @@
},
"scripts": {
"start": "react-scripts start",
"build": "react-scripts build",
"build": "react-scripts build && echo '/* /index.html 200' | cat >build/_redirects",
"test": "react-scripts test",
"eject": "react-scripts eject"
},

1
public/_redirects Normal file
View File

@@ -0,0 +1 @@
/* /index.html 200