mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-30 17:37:14 +00:00
eslint
This commit is contained in:
parent
affcb9d58e
commit
c08801cf53
@ -439,7 +439,7 @@ function createWebpackMiddleware () {
|
|||||||
if (!stats.hasErrors() && !stats.hasWarnings()) {
|
if (!stats.hasErrors() && !stats.hasWarnings()) {
|
||||||
// We don't use os.host() here because browsers have special behaviour with localhost
|
// We don't use os.host() here because browsers have special behaviour with localhost
|
||||||
// For example chrome allows Geolocation api only to https or localhost origins
|
// For example chrome allows Geolocation api only to https or localhost origins
|
||||||
let _host = host==='0.0.0.0' ? 'localhost' : host
|
let _host = host === '0.0.0.0' ? 'localhost' : host
|
||||||
console.log(`> Open http://${_host}:${port}\n`) // eslint-disable-line no-console
|
console.log(`> Open http://${_host}:${port}\n`) // eslint-disable-line no-console
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user