Merge pull request #36 from efi-the-forking-continues/master
new feature: command line option for bind address
This commit is contained in:
@@ -293,7 +293,7 @@ module.exports = function(opts, callback) {
|
||||
return data;
|
||||
});
|
||||
|
||||
var server = app.listen(process.env.PORT || opts.port, function() {
|
||||
var server = app.listen(process.env.PORT || opts.port, process.env.BIND || opts.bind, function() {
|
||||
console.log('Listening at http://%s:%d/',
|
||||
this.address().address, this.address().port);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user