diff --git a/server.js b/server.js index e7ca2b0..e0caf14 100644 --- a/server.js +++ b/server.js @@ -1,7 +1,4 @@ const app = require('./app'); const config = require('config'); -const util = require('util'); -module.exports = app.listen(process.env.PORT || config.port || 3000, function() { - util.log('Server started: http://localhost:%s/', this.address().port); -}); +module.exports = app.listen(process.env.PORT || config.port, process.env.HOST || config.host);