mirror of
https://gitlab.com/RemixDev/deemix-gui.git
synced 2025-01-29 17:58:28 +00:00
Added environment variable for singleuser
This commit is contained in:
parent
c8f02b310d
commit
784c08765a
|
@ -16,7 +16,7 @@ if (!isModule) {
|
|||
|
||||
const DEEMIX_SERVER_PORT = process.env.DEEMIX_SERVER_PORT ?? argv.port
|
||||
const DEEMIX_HOST = process.env.DEEMIX_HOST ?? argv.host
|
||||
const IS_SINGLE_USER = !!argv.singleuser
|
||||
const IS_SINGLE_USER = !!process.env.DEEMIX_SINGLE_USER ?? !!argv.singleuser
|
||||
|
||||
const server = new DeemixServer(DEEMIX_HOST, DEEMIX_SERVER_PORT, IS_SINGLE_USER)
|
||||
server.init()
|
||||
|
|
Loading…
Reference in a new issue