mirror of
https://github.com/MercuryWorkshop/scramjet.git
synced 2025-05-15 07:20:02 -04:00
fix coep headerse
This commit is contained in:
parent
6e9ce2238c
commit
f59766b79c
2 changed files with 4 additions and 0 deletions
|
@ -220,6 +220,7 @@ async function handleResponse(
|
|||
|
||||
if (crossOriginIsolated) {
|
||||
responseHeaders["Cross-Origin-Embedder-Policy"] = "require-corp";
|
||||
responseHeaders["Cross-Origin-Opener-Policy"] = "same-origin";
|
||||
}
|
||||
|
||||
return new Response(responseBody, {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue