diff --git a/configuration.js b/configuration.js index ef9e28f..a842e5f 100644 --- a/configuration.js +++ b/configuration.js @@ -18,6 +18,8 @@ module.exports = function () { var settings = { 'env' : 'dev', 'database' : 'example.com/database', + "localDatabase" : true, + "webHost" : '0.0.0.0', 'webPort' : 1024, 'torHost' : 'example.com', 'torPort' : 9050, diff --git a/web.js b/web.js index e85dd4d..5f981d1 100644 --- a/web.js +++ b/web.js @@ -78,7 +78,7 @@ app.get('/api/:api', function (req, res, next) { next(); }); app.param('api', api); //Initialize the server on configured web port. -app.listen(config().webPort); +app.listen(config().webPort, config().webHost); console.log('Started rooster.io on port', config().webPort) plugins();