fix: disallow iframs

This commit is contained in:
TrèsAbhi committed 2024-06-05 13:40:45 -05:00
1 parent 7cdcf7b9e1
commit 64c9e2f64d
1 file changed
+9
+9
View File
@@ -14,6 +14,15 @@ const nextConfig = {
},
}),
async headers() {
return [
{
source: '/(.*)?',
headers: [{ key: 'X-Frame-Options', value: 'DENY' }],
},
];
},
distDir: 'dist/website',
reactStrictMode: false,
};