From a46f9c37c628a69d806682f0545f58d1d05655b4 Mon Sep 17 00:00:00 2001 From: Isaac Grynsztein Date: Sat, 29 Feb 2020 04:31:06 -0500 Subject: [PATCH] fixed bug where old config item was fetched --- backend/app.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/backend/app.js b/backend/app.js index 2db4a94..4d40a84 100644 --- a/backend/app.js +++ b/backend/app.js @@ -121,11 +121,9 @@ async function loadConfig() { // get config library // config = require('config'); - // frontendUrl = !debugMode ? config_api.getConfigItem('ytdl_frontend_url') : 'http://localhost:4200'; url = !debugMode ? config_api.getConfigItem('ytdl_url') : 'http://localhost:4200'; backendPort = config_api.getConfigItem('ytdl_port'); usingEncryption = config_api.getConfigItem('ytdl_use_encryption'); - basePath = config_api.getConfigItem('ytdl_base_path'); audioFolderPath = config_api.getConfigItem('ytdl_audio_folder_path'); videoFolderPath = config_api.getConfigItem('ytdl_video_folder_path'); downloadOnlyMode = config_api.getConfigItem('ytdl_download_only_mode');