aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--server/helpers/youtube-dl.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/helpers/youtube-dl.ts b/server/helpers/youtube-dl.ts
index bb5930952..c2aa8870a 100644
--- a/server/helpers/youtube-dl.ts
+++ b/server/helpers/youtube-dl.ts
@@ -138,7 +138,7 @@ async function updateYoutubeDLBinary () {
138 const binDirectory = join(root(), 'node_modules', 'youtube-dl', 'bin') 138 const binDirectory = join(root(), 'node_modules', 'youtube-dl', 'bin')
139 const bin = join(binDirectory, 'youtube-dl') 139 const bin = join(binDirectory, 'youtube-dl')
140 const detailsPath = join(binDirectory, 'details') 140 const detailsPath = join(binDirectory, 'details')
141 const url = 'https://yt-dl.org/downloads/latest/youtube-dl' 141 const url = process.env.YOUTUBE_DL_DOWNLOAD_HOST || 'https://yt-dl.org/downloads/latest/youtube-dl'
142 142
143 await ensureDir(binDirectory) 143 await ensureDir(binDirectory)
144 144