read values from env

This commit is contained in:
2026-08-04 23:05:11 -07:00
parent 54af35299d
commit aa2bf08255
2 changed files with 10 additions and 4 deletions

View File

@@ -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(){