mirror of
https://github.com/hanzoai/account-sdk.git
synced 2026-09-24 16:55:42 +00:00
* Add formatting configuration and format codebase * remove vendor from biome
18 lines
398 B
JavaScript
18 lines
398 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,
|
|
};
|