chore: add http:// to ready message

This commit is contained in:
Pooya Parsa 2018-04-02 15:42:29 +04:30
parent 857da68786
commit 1484928237
1 changed files with 2 additions and 2 deletions

View File

@ -126,8 +126,8 @@ export default class Nuxt {
return reject(err)
}
const hostPort = chalk.underline.blue(`${host}:${port}`)
this.readyMessage = `Listening on ${hostPort}`
const listenURL = chalk.underline.blue(`http://${host}:${port}`)
this.readyMessage = `Listening on ${listenURL}`
// Close server on nuxt close
this.hook(