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');