We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5dabe53 commit fd95a79Copy full SHA for fd95a79
lib/dev.js
@@ -83,7 +83,7 @@ module.exports = async function dev (sourceDir, cliOptions = {}) {
83
isFirst = false
84
console.log(
85
`\n VuePress dev server listening at ${
86
- chalk.cyan(`http://${host}:${port}${options.publicPath}`)
+ chalk.cyan(`http://${host === '0.0.0.0' ? 'localhost' : host}:${port}${options.publicPath}`)
87
}\n`
88
)
89
} else {
0 commit comments