serve frontend from rails through protected route
This commit is contained in:
@@ -1,4 +1,13 @@
|
||||
{
|
||||
"engines": {
|
||||
"node": "10.15.3",
|
||||
"yarn": "1.15.2"
|
||||
},
|
||||
"scripts": {
|
||||
"build": "yarn --cwd client install && yarn --cwd client build",
|
||||
"deploy": "cp -a client/build/. protected_public/",
|
||||
"heroku-postbuild": "yarn build && yarn deploy"
|
||||
},
|
||||
"dependencies": {
|
||||
"react-router-dom": "^5.0.1"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user