54a70aefb8d20dbac83e6c39f425f8eb585184af
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