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
commit 161b5eed10
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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:",