From 4bf9d9734568549d90570105e3386f7a73a9b978 Mon Sep 17 00:00:00 2001 From: 0d0 <0d0acre@esiliati.org> Date: Sat, 19 Apr 2025 16:30:32 +0200 Subject: [PATCH] remove unused cookie --- src/routes/download/+server.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/routes/download/+server.ts b/src/routes/download/+server.ts index 365a0ac..540fed5 100644 --- a/src/routes/download/+server.ts +++ b/src/routes/download/+server.ts @@ -60,8 +60,7 @@ export const GET: RequestHandler = async ({ url }) => { return new Response(streamYouTube(link, format), { headers: { 'Content-Type': `${mimeTypeMap.get(format)}`, - 'Content-Disposition': `attachment; filename="${filename}"`, - 'Set-Cookie': 'downloading=0' + 'Content-Disposition': `attachment; filename="${filename}"` } }); } catch (err) {