mirror of
https://github.com/movie-web/movie-web.git
synced 2024-11-13 07:55:06 +01:00
Update worker.js
This commit is contained in:
parent
295c7b3cfb
commit
eaef9f984b
@ -48,6 +48,7 @@ async function handleRequest(request, destinationUrl, iteration = 0) {
|
|||||||
|
|
||||||
// Set CORS headers
|
// Set CORS headers
|
||||||
response.headers.set("Access-Control-Allow-Origin", '*');
|
response.headers.set("Access-Control-Allow-Origin", '*');
|
||||||
|
response.headers.set('Access-Control-Expose-Headers', 'PHPSESSID');
|
||||||
|
|
||||||
// Get and set PHPSESSID cookie
|
// Get and set PHPSESSID cookie
|
||||||
const cookies = response.headers.get('Set-Cookie');
|
const cookies = response.headers.get('Set-Cookie');
|
||||||
|
Loading…
Reference in New Issue
Block a user