diff --git a/backend/app.js b/backend/app.js index efe0de6a..5f3d9ed0 100644 --- a/backend/app.js +++ b/backend/app.js @@ -131,6 +131,7 @@ async function startServer() { async function setPortItemFromENV() { return new Promise(resolve => { + console.log(backendPort.toString()); config_api.setConfigItem('ytdl_port', backendPort.toString()); setTimeout(() => resolve(true), 100); }); diff --git a/backend/config.js b/backend/config.js index fd6d8541..457c38b2 100644 --- a/backend/config.js +++ b/backend/config.js @@ -78,7 +78,8 @@ function setConfigItem(key, value) { } else { parent_object[element_name] = value; } - + console.log('setting file to'); + console.log(config_json); success = setConfigFile(config_json); return success;