Browse Source

Merge branch 'add-chatwoot-csp' into 'master'

Add chatwoot to CSP

See merge request glitchtip/glitchtip-backend!140
james kiger 2 years ago
parent
commit
924ded9883
1 changed files with 1 additions and 1 deletions
  1. 1 1
      glitchtip/settings.py

+ 1 - 1
glitchtip/settings.py

@@ -253,7 +253,7 @@ CSP_FONT_SRC = env.list(
 CSP_WORKER_SRC = env.list("CSP_WORKER_SRC", str, ["'self'", "blob:"])
 # GlitchTip can record it's own errors
 CSP_CONNECT_SRC = env.list(
-    "CSP_CONNECT_SRC", str, ["'self'", "https://*.glitchtip.com"]
+    "CSP_CONNECT_SRC", str, ["'self'", "https://*.glitchtip.com", "https://app.chatwoot.com"]
 )
 # Needed for Analytics and Stripe for SaaS use cases. Both are disabled by default.
 CSP_SCRIPT_SRC = env.list(