Remove headers - not working

This commit is contained in:
Paul Copplestone committed 2021-03-15 21:08:03 +08:00
1 parent 69538f719a
commit e457fbb644
1 file changed
+1 -14
+1 -14
View File
@@ -1,16 +1,3 @@
module.exports = {
basePath: '/new',
async headers() {
return [
{
source: '/(.*?)',
headers: [
{
key: 'X-Frame-Options',
value: 'DENY',
},
],
},
]
},
basePath: '/new'
}