Skip to content

Commit 699492a

Browse files
committed
fix($core): should default host be 0.0.0.0
ref: codesandbox/codesandbox-client#1652
1 parent 9e07b1e commit 699492a

File tree

1 file changed

+1
-1
lines changed
  • packages/@vuepress/core/lib/node/dev

1 file changed

+1
-1
lines changed

packages/@vuepress/core/lib/node/dev/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ module.exports = class DevProcess extends EventEmitter {
266266
*/
267267

268268
function resolveHost (host) {
269-
const defaultHost = 'localhost'
269+
const defaultHost = '0.0.0.0'
270270
host = host || defaultHost
271271
const displayHost = host === defaultHost
272272
? 'localhost'

0 commit comments

Comments
 (0)