Skip to content

Commit 9798a45

Browse files
committed
Accept env PORT
1 parent ac54d4f commit 9798a45

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/configs/default.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ var path = require('path');
66
module.exports = function(options) {
77
options = _.merge(options, {
88
// Port for running the webserver
9-
'port': 3000,
9+
'port': process.env.PORT || 3000,
1010

1111
// Root folder
1212
'root': process.cwd(),

0 commit comments

Comments
 (0)