Skip to content

Commit

Permalink
Merge pull request #754 from changyuheng/pr-localhost-by-default
Browse files Browse the repository at this point in the history
Should listen to localhost only by default
  • Loading branch information
tommy351 committed Jul 30, 2014
2 parents 083187f + ac32f48 commit 4377fc7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/plugins/console/server.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ module.exports = function(args, callback){
log = hexo.log;

var app = connect(),
serverIp = args.i || args.ip || config.server_ip || '0.0.0.0',
serverIp = args.i || args.ip || config.server_ip || 'localhost',
port = parseInt(args.p || args.port || config.port, 10) || 4000,
useDrafts = args.d || args.drafts || config.render_drafts || false,
root = config.root;
Expand Down

0 comments on commit 4377fc7

Please # to comment.