Skip to content

Commit 099a13e

Browse files
committed
Use ENV port but fallback to 4040
1 parent 57d80a2 commit 099a13e

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)