Skip to content

Commit

Permalink
Respect config.port and config.address in apputil
Browse files Browse the repository at this point in the history
  • Loading branch information
strugee committed Dec 29, 2017
1 parent efa3238 commit f33ea05
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/lib/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ function configureAppSetup(config) {
}), noopLog, require('../../lib/persistence')('/tmp')),
cb = this.callback;

var server = app.listen(5320, 'localhost', function(err) {
var server = app.listen(config.port || 5320, config.address || 'localhost', function(err) {
cb(err, server);
});
},
Expand Down

0 comments on commit f33ea05

Please sign in to comment.