mirror of
https://github.com/Tzahi12345/YoutubeDL-Material.git
synced 2026-04-21 01:43:21 +03:00
fixed bug where old config item was fetched
This commit is contained in:
@@ -121,11 +121,9 @@ async function loadConfig() {
|
|||||||
// get config library
|
// get config library
|
||||||
// config = require('config');
|
// config = require('config');
|
||||||
|
|
||||||
// frontendUrl = !debugMode ? config_api.getConfigItem('ytdl_frontend_url') : 'http://localhost:4200';
|
|
||||||
url = !debugMode ? config_api.getConfigItem('ytdl_url') : 'http://localhost:4200';
|
url = !debugMode ? config_api.getConfigItem('ytdl_url') : 'http://localhost:4200';
|
||||||
backendPort = config_api.getConfigItem('ytdl_port');
|
backendPort = config_api.getConfigItem('ytdl_port');
|
||||||
usingEncryption = config_api.getConfigItem('ytdl_use_encryption');
|
usingEncryption = config_api.getConfigItem('ytdl_use_encryption');
|
||||||
basePath = config_api.getConfigItem('ytdl_base_path');
|
|
||||||
audioFolderPath = config_api.getConfigItem('ytdl_audio_folder_path');
|
audioFolderPath = config_api.getConfigItem('ytdl_audio_folder_path');
|
||||||
videoFolderPath = config_api.getConfigItem('ytdl_video_folder_path');
|
videoFolderPath = config_api.getConfigItem('ytdl_video_folder_path');
|
||||||
downloadOnlyMode = config_api.getConfigItem('ytdl_download_only_mode');
|
downloadOnlyMode = config_api.getConfigItem('ytdl_download_only_mode');
|
||||||
|
|||||||
Reference in New Issue
Block a user