From 8c24adabdf7439f7e730507f8c2b9eacdafa642b Mon Sep 17 00:00:00 2001 From: Noah Hsu Date: Mon, 5 Dec 2022 12:27:06 +0000 Subject: [PATCH] auto update alist-proxy.js --- alist-proxy.js | 1 + 1 file changed, 1 insertion(+) 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;