added debug messages to debug heroku

This commit is contained in:
Isaac Grynsztein
2020-03-22 00:37:06 -04:00
parent d8ea848e26
commit b3b2175c67
2 changed files with 3 additions and 1 deletions

View File

@@ -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);
});