Skip to content

Commit

Permalink
allow for changing of port
Browse files Browse the repository at this point in the history
  • Loading branch information
noogen committed Nov 25, 2018
1 parent 23412d6 commit c9375d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@ http.createServer((req, res) => {
} else {
return post(req, res, null)
}
}).listen(5000, () => {
}).listen(process.env.PORT || 5000, () => {
console.log('Listening for requests');
});

0 comments on commit c9375d2

Please sign in to comment.