Fixed server passing the wrong argument to the webui when using electron

This commit is contained in:
RemixDev 2022-07-30 10:11:54 +02:00
parent cb8ab5cfae
commit 8fb89af4a9
No known key found for this signature in database
GPG Key ID: B33962B465BDB51C

View File

@ -16,7 +16,7 @@ const PORT = process.env.DEEMIX_SERVER_PORT || argv.port
process.env.DEEMIX_SERVER_PORT = PORT process.env.DEEMIX_SERVER_PORT = PORT
process.env.DEEMIX_HOST = argv.host process.env.DEEMIX_HOST = argv.host
const server = new DeemixServer(argv.host, PORT, false) const server = new DeemixServer(argv.host, PORT, '/', false)
server.init() server.init()
let win let win