From 337582ac70c3b0dcc4ac4c46f810ac38565d702e Mon Sep 17 00:00:00 2001 From: Abdullah Atta Date: Tue, 9 Sep 2025 11:58:29 +0500 Subject: [PATCH] monograph: add report endpoint to connect-src content policy --- apps/monograph/app/entry.server.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/monograph/app/entry.server.tsx b/apps/monograph/app/entry.server.tsx index c57f66656..6fa316d78 100644 --- a/apps/monograph/app/entry.server.tsx +++ b/apps/monograph/app/entry.server.tsx @@ -90,7 +90,7 @@ function getContentSecurityPolicy(nonce?: string) { const connect_src = process.env.NODE_ENV === "development" ? "'self' ws://localhost:*" - : "'self'"; + : "'self' https://notesnook.com/api/v1/reports/submit"; return ( `script-src ${script_src} 'strict-dynamic'; ` +