[ui-server]: fix dev mode switch missing

This commit is contained in:
41666 2019-06-05 10:24:35 -05:00
parent 1f05c39f17
commit be0a34cc5b
No known key found for this signature in database
GPG key ID: DE08FAA8925DC747

View file

@ -16,7 +16,7 @@ const app = new Koa()
// Create the server and socket.io server
const server = http.createServer(app.callback())
const M = new Roleypoly(null, app) // eslint-disable-line no-unused-vars
const M = new Roleypoly(undefined, app) // eslint-disable-line no-unused-vars
const appKey = process.env.APP_KEY || ''
if (appKey === '') {