From b153acaede6a0cedb0ea0f22a98e6b0eda925c0b Mon Sep 17 00:00:00 2001 From: Shubham Palriwala Date: Tue, 9 Apr 2024 20:29:39 +0530 Subject: [PATCH] fix: allow survey embeddings on other webpages (#2420) --- apps/web/next.config.mjs | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/apps/web/next.config.mjs b/apps/web/next.config.mjs index 43bd1ab642..85ab9c3f06 100644 --- a/apps/web/next.config.mjs +++ b/apps/web/next.config.mjs @@ -116,7 +116,16 @@ const nextConfig = { ], }, { - source: "/(.*)", + source: "/environments/(.*)", + headers: [ + { + key: "X-Frame-Options", + value: "SAMEORIGIN", + }, + ], + }, + { + source: "/auth/(.*)", headers: [ { key: "X-Frame-Options",