Skip to content
This repository was archived by the owner on Oct 11, 2023. It is now read-only.

Commit 8405c1b

Browse files
committed
Merge branch 'master' of https://github.com/Azure/dev-spaces into s-tuli/convertTots
2 parents d45b015 + b4e49c3 commit 8405c1b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

samples/BikeSharingApp/Bikes/server.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -349,7 +349,7 @@ app.get('/hello', function(req, res) {
349349
});
350350

351351
// start server ------------------------------------------------------------
352-
var port = 80;
352+
var port = process.env.PORT || 3000;
353353
var server = null;
354354

355355
process.on("SIGINT", () => {
@@ -403,4 +403,4 @@ async.retry({times: 10, interval: 1000}, tryMongoConnect, function(err, result)
403403
server = app.listen(port, function () {
404404
console.log('Listening on port ' + port);
405405
});
406-
});
406+
});

0 commit comments

Comments
 (0)