This commit is contained in:
Josh Harvey 2017-03-20 16:43:40 +02:00
parent a35e9d2d44
commit 340ad2b518
8 changed files with 129 additions and 38 deletions

View file

@ -48,7 +48,7 @@ function runOnce () {
? http.createServer(routes.app)
: https.createServer(httpsServerOptions, routes.app)
const port = 3000
const port = argv.port || 3000
const localPort = 3030
const localServer = http.createServer(routes.localApp)