remove unused cookie

This commit is contained in:
0d0 2025-04-19 16:30:32 +02:00
parent 99263fd14c
commit 4bf9d97345

View file

@ -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) {