83a34ef73c995e8574e590ac2f6196f74f42eb10
Gitcub / next.config.js
// Copyright © 2023 Dean Lee
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 18 19