mirror of
https://github.com/hanzoai/account-sdk.git
synced 2026-09-24 16:55:42 +00:00
18 lines
432 B
JavaScript
18 lines
432 B
JavaScript
function getCrossOriginOpenerPolicyHeaders() {
|
|
return {
|
|
source: "/",
|
|
headers: [
|
|
{
|
|
key: "Cross-Origin-Opener-Policy",
|
|
value: "same-origin",
|
|
},
|
|
]
|
|
}
|
|
}
|
|
|
|
// To test these headers in your local environment,
|
|
// create a next.config and add the following rules to the next.config.js headers property.
|
|
module.exports = {
|
|
getCrossOriginOpenerPolicyHeaders
|
|
}
|