Skip to content

Commit 8389d3f

Browse files
committed
Merge pull request #16 from heroku/env-port
Use ENV port but fallback to 4040
2 parents 57d80a2 + 099a13e commit 8389d3f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Parse-Dashboard/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,4 @@ app.get('/*', function(req, res) {
2121
});
2222

2323
// Start the server, listening to port 4040.
24-
app.listen(4040);
24+
app.listen(process.env.PORT || 4040);

0 commit comments

Comments
 (0)