fix: set coop/coep in function mw
This commit is contained in:
parent
7e88d96ddb
commit
72b98a4ab5
@ -38,6 +38,8 @@ export const onRequest: PagesFunction<Env> = async context => {
|
||||
headers: {
|
||||
...Object.fromEntries(rsp.headers.entries()),
|
||||
"cache-control": "public, max-age=60",
|
||||
"Cross-Origin-Opener-Policy": "same-origin",
|
||||
"Cross-Origin-Embedder-Policy": "require-corp",
|
||||
},
|
||||
});
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user