docs.. onServerUp message changed

This commit is contained in:
Lloyd Brookes
2015-11-27 14:48:30 +00:00
parent ff3fb7d1ac
commit d38ac16e71
3 changed files with 3 additions and 3 deletions

View File

@ -4,7 +4,7 @@
[![Dependency Status](https://david-dm.org/75lb/local-web-server.svg)](https://david-dm.org/75lb/local-web-server)
[![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg)](https://github.com/feross/standard)
***This is the documentation for the next version. For the previous release, see the `prev` branch. To install this prerelease: `$ npm i -g local-web-server@^1.0.0-beta`***
***This is the documentation for the next version. For the previous release, see the `prev` branch. To install this prerelease: `$ npm i -g local-web-server@next`***
# local-web-server
A simple web-server for productive front-end development. Typical use cases:

View File

@ -57,7 +57,7 @@ function onServerUp () {
.map(key => os.networkInterfaces()[key])
.reduce((prev, curr) => prev = prev.concat(curr), [])
.filter(iface => iface.family === 'IPv4')
.map(iface => `[underline]{${iface.address}:${options.server.port}}`)
.map(iface => `[underline]{http://${iface.address}:${options.server.port}}`)
.join(', ')
console.error(ansi.format(

View File

@ -4,7 +4,7 @@
[![Dependency Status](https://david-dm.org/75lb/local-web-server.svg)](https://david-dm.org/75lb/local-web-server)
[![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg)](https://github.com/feross/standard)
***This is the documentation for the next version. For the previous release, see the `prev` branch. To install this prerelease: `$ npm i -g local-web-server@^1.0.0-beta`***
***This is the documentation for the next version. For the previous release, see the `prev` branch. To install this prerelease: `$ npm i -g local-web-server@next`***
# local-web-server
A simple web-server for productive front-end development. Typical use cases: