diff --git a/next.config.ts b/next.config.ts index c1015db8..59829859 100644 --- a/next.config.ts +++ b/next.config.ts @@ -26,6 +26,19 @@ const nextConfig: NextConfig = { }, ]; }, + async headers() { + return [ + { + source: "/:path*", + headers: [ + { + key: "X-Frame-Options", + value: "DENY", + }, + ], + }, + ]; + }, }; export default withSentryConfig(nextConfig, {