08d62216f9dd02256085bae88a52557fffc06e63
Gitcub / next.config.js
const securityHeaders = [
{
key: 'Content-Security-Policy',
value: 'frame-ancestors \'none\'',
}
]
module.exports = {
async headers() {
return [
{
source: '/:path*',
headers: securityHeaders,
},
]
},
}
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17