Skip to content

Commit

Permalink
add port
Browse files Browse the repository at this point in the history
  • Loading branch information
bahdcoder committed Jun 22, 2018
1 parent e249f1a commit 21cfc6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ app.use(bodyParser.urlencoded({ extended: true }));

app.use('/api/v1', router);

app.listen(3000, () => {
app.listen(process.env.PORT || 3000, () => {
console.log('App running on port 3000');
});

Expand Down

0 comments on commit 21cfc6d

Please sign in to comment.