diff --git a/src-tauri/tauri.conf.json b/src-tauri/tauri.conf.json index e2ab76357..29ea8ea52 100644 --- a/src-tauri/tauri.conf.json +++ b/src-tauri/tauri.conf.json @@ -50,7 +50,13 @@ "targets": ["dmg", "updater"] }, "security": { - "csp": "default-src 'self'; img-src 'self' asset: https://asset.localhost" + "csp": { + "default-src": "'self'", + "img-src": "'self' asset: https://asset.localhost", + "connect-src": "'self' https://eu.posthog.com", + "script-src": "'self' https://eu.posthog.com", + "style-src": "'self' 'unsafe-inline'" + } }, "systemTray": { "iconPath": "icons/tray.png",