mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-11 08:33:53 +00:00
open ~> ready
be more precicse about which ip address is nuxt listening by.
This commit is contained in:
parent
6394639091
commit
85d6c5758a
@ -126,13 +126,12 @@ export default class Nuxt {
|
||||
return reject(err)
|
||||
}
|
||||
|
||||
const _host = host === '0.0.0.0' ? 'localhost' : host
|
||||
if (!this.options.test) {
|
||||
// eslint-disable-next-line no-console
|
||||
console.log(
|
||||
'\n' +
|
||||
chalk.bgGreen.black(' OPEN ') +
|
||||
chalk.green(` http://${_host}:${port}\n`)
|
||||
chalk.bgGreen.black(' READY ') +
|
||||
chalk.green(` Listening on ${host}:${port}\n`)
|
||||
)
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user