diff --git a/lib/plugins/console/server.js b/lib/plugins/console/server.js index fc8622655e..0335ac60d5 100644 --- a/lib/plugins/console/server.js +++ b/lib/plugins/console/server.js @@ -35,10 +35,7 @@ module.exports = function(args, callback){ log.i('Using drafts.'); } - // for display purpose only - var ip = serverIp === '0.0.0.0' ? 'localhost' : serverIp; - - log.i('Hexo is running at ' + 'http://%s:%d%s'.underline + '. Press Ctrl+C to stop.', ip, port, root); + log.i('Hexo is running at ' + 'http://%s:%d%s'.underline + '. Press Ctrl+C to stop.', serverIp, port, root); /** * Fired after server started.