When I set frameOptions: false the library still return the X-Frame-Options header.
The PR https://github.com/trezy/next-safe/pull/38 solves this problem by checking if the right value param is false 😄 , but maybe we should check both the key and value param for false?
Steps To Reproduce
Create new Next.js app
Setup next-safe:
nextSafe({
frameOptions: false
})
Start app
Still see X-Frame-Options header in response
Version
v3.x.x
Relevant log output
No response
Code of Conduct
[X] I agree to follow this project's Code of Conduct
Describe the bug
When I set frameOptions: false the library still return the
X-Frame-Options
header.The PR https://github.com/trezy/next-safe/pull/38 solves this problem by checking if the right value param is
false
😄 , but maybe we should check both the key and value param for false?Steps To Reproduce
next-safe
:Version
v3.x.x
Relevant log output
No response
Code of Conduct