server: add docs-server, --docs cli option & Docs action in launcher menu
This commit is contained in:
parent
0d9832144d
commit
fb1212d7e2
8 changed files with 129 additions and 16 deletions
|
|
@ -10,7 +10,6 @@ var urlparser = require('url'),
|
|||
settings = require('./settings'),
|
||||
theme = require('./theme').init(),
|
||||
zeroconf = require('./zeroconf'),
|
||||
appAddresses = settings.appAddresses(),
|
||||
osc = {},
|
||||
clients = {},
|
||||
httpCheckTimeout
|
||||
|
|
@ -112,7 +111,7 @@ function httpCheck(ok){
|
|||
clearTimeout(httpCheckTimeout)
|
||||
httpCheckTimeout = null
|
||||
if (ok) {
|
||||
console.log('(INFO) Server started, app available at \n ' + appAddresses.join('\n '))
|
||||
console.log('(INFO) Server started, app available at \n ' + settings.appAddresses().join('\n '))
|
||||
} else {
|
||||
console.error('(ERROR, HTTP) Could not setup http server, maybe try a different port ?')
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue