Skip to content

Rallly is an open-source scheduling and collaboration tool designed to make organizing events and meetings easier.

🔒️ Prevent app from rendering in iframe (#2175)

Luke Vellae4930d8111fb
diff --git a/apps/web/next.config.ts b/apps/web/next.config.ts
index be46bd312..d5c6ec50b 100644
--- a/apps/web/next.config.ts
+++ b/apps/web/next.config.ts
@@ -88,6 +88,19 @@ const nextConfig: NextConfig = {
},
];
},
+ async headers() {
+ return [
+ {
+ source: "/:path*",
+ headers: [
+ {
+ key: "Content-Security-Policy",
+ value: "frame-ancestors 'none'",
+ },
+ ],
+ },
+ ];
+ },
devIndicators: {
position: "bottom-right",
},