remove unused cookie
This commit is contained in:
parent
99263fd14c
commit
4bf9d97345
1 changed files with 1 additions and 2 deletions
|
@ -60,8 +60,7 @@ export const GET: RequestHandler = async ({ url }) => {
|
||||||
return new Response(streamYouTube(link, format), {
|
return new Response(streamYouTube(link, format), {
|
||||||
headers: {
|
headers: {
|
||||||
'Content-Type': `${mimeTypeMap.get(format)}`,
|
'Content-Type': `${mimeTypeMap.get(format)}`,
|
||||||
'Content-Disposition': `attachment; filename="${filename}"`,
|
'Content-Disposition': `attachment; filename="${filename}"`
|
||||||
'Set-Cookie': 'downloading=0'
|
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue