From 078753df30ca2757b9444423be720bb9da62a93d Mon Sep 17 00:00:00 2001 From: sabaimran Date: Fri, 20 Dec 2024 13:33:48 -0800 Subject: [PATCH] Add chatwoot to the frame-src CSP --- src/interface/web/app/common/layoutHelper.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/interface/web/app/common/layoutHelper.tsx b/src/interface/web/app/common/layoutHelper.tsx index 5c34e641..2d5159d4 100644 --- a/src/interface/web/app/common/layoutHelper.tsx +++ b/src/interface/web/app/common/layoutHelper.tsx @@ -9,7 +9,7 @@ export function ContentSecurityPolicy() { style-src 'self' https://assets.khoj.dev 'unsafe-inline' https://fonts.googleapis.com https://accounts.google.com; img-src 'self' data: blob: https://*.khoj.dev https://accounts.google.com https://*.googleusercontent.com https://*.google.com/ https://*.gstatic.com; font-src 'self' https://assets.khoj.dev https://fonts.gstatic.com; - frame-src 'self' https://accounts.google.com; + frame-src 'self' https://accounts.google.com https://app.chatwoot.com; child-src 'self' https://app.chatwoot.com; object-src 'none';" >