Skip to content

Commit

Permalink
Minor update
Browse files Browse the repository at this point in the history
  • Loading branch information
skvrahul committed May 14, 2020
1 parent 3398ed3 commit 75f725d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions Procfile
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
web: node -r esm server.js
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"serve": "^11.3.0"
},
"scripts": {
"start": "run-p server client",
"start": "node -r esm ./server.js",
"client": "react-scripts start",
"server": "node -r esm src/gameServer.js",
"build": "react-scripts build",
Expand Down
2 changes: 1 addition & 1 deletion src/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ export const GAME_NAME = "udaipur";
export const GAME_SERVER_PORT = 8000;
export const GAME_SERVER_URL = `http://localhost:${GAME_SERVER_PORT}`;
export const WEB_SERVER_URL = "http://localhost:8000";
export const APP_PRODUCTION = false;
export const APP_PRODUCTION = true;

0 comments on commit 75f725d

Please sign in to comment.