refactor: remove old server

This commit is contained in:
André Sá 2022-04-05 16:58:52 +01:00
parent b9fe558019
commit 0a833fa11d

View file

@ -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)
})
})
}