refactor: remove old server
This commit is contained in:
parent
b9fe558019
commit
0a833fa11d
1 changed files with 0 additions and 6 deletions
|
|
@ -77,8 +77,6 @@ function startServer (settings) {
|
|||
: https.createServer(httpsServerOptions, routes.app)
|
||||
|
||||
const port = argv.port || 3000
|
||||
const localPort = 3030
|
||||
const localServer = http.createServer(routes.localApp)
|
||||
|
||||
if (options.devMode) logger.info('In dev mode')
|
||||
|
||||
|
|
@ -86,10 +84,6 @@ function startServer (settings) {
|
|||
logger.info('lamassu-server listening on port ' +
|
||||
port + ' ' + (devMode ? '(http)' : '(https)'))
|
||||
})
|
||||
|
||||
localServer.listen(localPort, 'localhost', () => {
|
||||
logger.info('lamassu-server listening on local port ' + localPort)
|
||||
})
|
||||
})
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue