diff --git a/alist-proxy.js b/alist-proxy.js index c8d1102..e15ca70 100644 --- a/alist-proxy.js +++ b/alist-proxy.js @@ -86,6 +86,7 @@ async function handleDownload(request) { } let response = await fetch(request); response = new Response(response.body, response); + response.headers.delete("set-cookie"); response.headers.set("Access-Control-Allow-Origin", origin); response.headers.append("Vary", "Origin"); return response;