Fix: Update CSP to allow posthog

This commit is contained in:
Its-treason 2023-11-30 19:36:15 +01:00
parent bb852c5f80
commit 41e922544c

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