From eaef9f984b5f08aadafeb1a072fe17b1d71e8b2e Mon Sep 17 00:00:00 2001 From: James Hawkins Date: Mon, 27 Sep 2021 21:05:10 +0100 Subject: [PATCH] Update worker.js --- worker.js | 1 + 1 file changed, 1 insertion(+) diff --git a/worker.js b/worker.js index bc37fa54..b789265e 100644 --- a/worker.js +++ b/worker.js @@ -48,6 +48,7 @@ async function handleRequest(request, destinationUrl, iteration = 0) { // Set CORS headers response.headers.set("Access-Control-Allow-Origin", '*'); + response.headers.set('Access-Control-Expose-Headers', 'PHPSESSID'); // Get and set PHPSESSID cookie const cookies = response.headers.get('Set-Cookie');