Closed johanhermansson closed 1 year ago
I need this change 😃
I need this change 😃
@ivajo26 You could bypass the problem by intermediate storing the nextSafe function results in a variable and filter out the X-Frame-Options
from the array.
const headers = nextSafe();
module.exports = {
async headers() {
return [
source: '/:path*',
headers: headers.filter(({ key }) => key !== 'X-Frame-Options')
];
}
};
:tada: This PR is included in version 3.3.0 :tada:
The release is available on:
Your semantic-release bot :package::rocket:
Value should be checked for false. This fixes
frameOptions: false
not working