mirror of
https://github.com/Tzahi12345/YoutubeDL-Material.git
synced 2026-04-08 11:51:28 +03:00
added debug messages to debug heroku
This commit is contained in:
@@ -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);
|
||||
});
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user