diff --git a/next.config.js b/next.config.js index d923618ce..2923298aa 100644 --- a/next.config.js +++ b/next.config.js @@ -14,6 +14,15 @@ const nextConfig = { }, }), + async headers() { + return [ + { + source: '/(.*)?', + headers: [{ key: 'X-Frame-Options', value: 'DENY' }], + }, + ]; + }, + distDir: 'dist/website', reactStrictMode: false, };