Change default streamerMode to manual

This commit is contained in:
Christer Warén 2021-09-16 01:21:33 +03:00
parent bfb27e7359
commit d64b0ac0cb
2 changed files with 5 additions and 2 deletions

View File

@ -19,8 +19,11 @@ module.exports = class {
case "manual": case "manual":
this.mode = "manual"; this.mode = "manual";
break; break;
default: case "auto":
this.mode = "auto"; this.mode = "auto";
break;
default:
this.mode = "manual";
} }
if(this.mode == "auto"){ if(this.mode == "auto"){

View File

@ -23,5 +23,5 @@ module.exports = {
version: process.env.RADIOX_VERSION || process.env.npm_package_version, version: process.env.RADIOX_VERSION || process.env.npm_package_version,
debug: process.env.DEBUG_MODE || false, debug: process.env.DEBUG_MODE || false,
maintenanceMode: false, maintenanceMode: false,
streamerMode: process.env.STREAMER_MODE || "auto" streamerMode: process.env.STREAMER_MODE || "manual"
} }