Handle frontend route in Netlify (#46)
* Add Netlify route * Add route handling to netlify
This commit is contained in:
parent
c465d2d0d8
commit
c691cfabe8
@ -35,7 +35,7 @@
|
||||
},
|
||||
"scripts": {
|
||||
"start": "react-scripts start",
|
||||
"build": "react-scripts build",
|
||||
"build": "react-scripts build && cp build/index.html build/404.html",
|
||||
"test": "react-scripts test --env=jsdom",
|
||||
"eject": "react-scripts eject",
|
||||
"deploy": "npm run build&&gh-pages -d build"
|
||||
|
1
public/_redirect
Normal file
1
public/_redirect
Normal file
@ -0,0 +1 @@
|
||||
/* /index.html 200
|
Loading…
Reference in New Issue
Block a user