2
0

build: 🏗️ Remove frame security headers on LP

This commit is contained in:
Baptiste Arnaud
2022-02-14 14:24:12 +01:00
parent e2606ebf11
commit aeb3e4caa7

View File

@ -3,13 +3,6 @@ const withBundleAnalyzer = require('@next/bundle-analyzer')({
enabled: process.env.ANALYZE === 'true',
})
const securityHeaders = [
{
key: 'X-Frame-Options',
value: 'SAMEORIGIN',
},
]
const pages = [
'blog',
'pricing',
@ -21,14 +14,6 @@ const pages = [
]
module.exports = withBundleAnalyzer({
async headers() {
return [
{
source: '/(.*)',
headers: securityHeaders,
},
]
},
async redirects() {
return [
{