We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 0545e76 + ddd31f6 commit 263e468Copy full SHA for 263e468
Procfile
@@ -0,0 +1 @@
1
+web: node server.js
package.json
@@ -14,7 +14,8 @@
14
"start": "react-scripts start",
15
"build": "react-scripts build",
16
"test": "react-scripts test",
17
- "eject": "react-scripts eject"
+ "eject": "react-scripts eject",
18
+ "postinstall": "webpack -p"
19
},
20
"eslintConfig": {
21
"extends": "react-app"
server.js
@@ -0,0 +1,6 @@
+var express = require('express');
2
+var app = express();
3
+
4
+app.use(express.static(__dirname + '/build'));
5
6
+app.listen(process.env.PORT || 8080);
0 commit comments