Skip to content

Commit

Permalink
Merge pull request #54 from phw/fix-using-host
Browse files Browse the repository at this point in the history
Use configured host
  • Loading branch information
Raphaël Benitte committed Jan 14, 2016
2 parents 03c6eaf + 76e397c commit 1759f5b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ module.exports = function (mozaik, app) {
res.send(_.omit(mozaik.config, 'api'));
});

var server = app.listen(config.port, function () {
var server = app.listen(config.port, config.host, function () {
mozaik.logger.info(chalk.yellow('Mozaïk server listening at http://' + config.host + ':' + config.port));
});

Expand Down

0 comments on commit 1759f5b

Please # to comment.