Adding button to deploy to heroku
To solve the problem of ports I made a condition to use the ENV `PORT` value returned by most clounds otherwise use the default port 80. I currently use this implementation without any problems. closes #88 and closes #114
This commit is contained in:
+1
-1
@@ -17,7 +17,7 @@ const argv = optimist
|
||||
describe: 'use this flag to indicate proxy over https'
|
||||
})
|
||||
.options('port', {
|
||||
default: '80',
|
||||
default: process.env.PORT || '80',
|
||||
describe: 'listen on this port for outside requests'
|
||||
})
|
||||
.options('address', {
|
||||
|
||||
Reference in New Issue
Block a user