read values from env
This commit is contained in:
@@ -2,7 +2,7 @@ const fplay = require("./lib/fplay.js");
|
||||
|
||||
var port = 3030;
|
||||
var timeout = 30000;
|
||||
var password = "cnc";
|
||||
var password = process.env.FOURPLAY_PASSWORD || "cnc";
|
||||
|
||||
fplay.event.on("server_ready", function(){
|
||||
|
||||
|
||||
Reference in New Issue
Block a user