Skip to content

Commit

Permalink
added heroku support
Browse files Browse the repository at this point in the history
  • Loading branch information
ncrypt96 committed Apr 11, 2019
1 parent 75b4cae commit 48ede92
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions ProcFile
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
web: node index.js
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
let express = require('express');
let socket = require('socket.io');

let PORT = 3000;
let PORT = process.env.PORT || 3000;

let app = express();

Expand Down

0 comments on commit 48ede92

Please sign in to comment.