Merge pull request #1106 from Its-treason/bugfix/csp-posthog

Fix: Update CSP to allow posthog
This commit is contained in:
Anoop M D
2023-12-01 11:38:24 +05:30
committed by GitHub

View File

@@ -18,7 +18,7 @@ const lastOpenedCollections = new LastOpenedCollections();
const contentSecurityPolicy = [
"default-src 'self'",
"script-src * 'unsafe-inline' 'unsafe-eval'",
"connect-src 'self' api.github.com",
"connect-src 'self' api.github.com app.posthog.com",
"font-src 'self' https:",
"form-action 'none'",
"img-src 'self' blob: data: https:",