Skip to content

Commit

Permalink
fix($core): should default host be 0.0.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ulivz committed Mar 31, 2019
1 parent 9e07b1e commit 699492a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/@vuepress/core/lib/node/dev/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ module.exports = class DevProcess extends EventEmitter {
*/

function resolveHost (host) {
const defaultHost = 'localhost'
const defaultHost = '0.0.0.0'
host = host || defaultHost
const displayHost = host === defaultHost
? 'localhost'
Expand Down

0 comments on commit 699492a

Please sign in to comment.