WIP
This commit is contained in:
parent
259b527214
commit
0a2d2f658e
6 changed files with 90 additions and 61 deletions
|
|
@ -27,9 +27,11 @@ if (!httpOnly) {
|
|||
|
||||
options.mock = argv.mock
|
||||
|
||||
var server = createServer(options)
|
||||
console.log('DEBUG23')
|
||||
|
||||
server.listen(port, function () {
|
||||
console.log('lamassu-server listening on port ' + port + ' ' +
|
||||
(httpOnly ? '(http)' : '(https)'))
|
||||
createServer(options)
|
||||
.then(server => {
|
||||
console.log('DEBUG22')
|
||||
return server.listen(port, () => console.log('lamassu-server listening on port ' +
|
||||
port + ' ' + (httpOnly ? '(http)' : '(https)')))
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue