From 2f25ccf600c2b947ac204efe39da96a38ab36ff0 Mon Sep 17 00:00:00 2001 From: 0d0 <0d0acre@esiliati.org> Date: Wed, 26 Feb 2025 16:11:02 +0100 Subject: [PATCH] Lint and format --- src/lib/server/ytdlp.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/lib/server/ytdlp.ts b/src/lib/server/ytdlp.ts index 0ede591..bbeecab 100644 --- a/src/lib/server/ytdlp.ts +++ b/src/lib/server/ytdlp.ts @@ -38,9 +38,8 @@ export function streamYouTube(link: string, format: string): ReadableStream<Uint start(controller) { const args = ['--no-write-thumbnail', '-o', '-']; - if (HTTPS_PROXY) { - args.push('--proxy', HTTPS_PROXY) + args.push('--proxy', HTTPS_PROXY); } if (mimeType?.includes('audio')) {