mirror of
https://github.com/gitbutlerapp/gitbutler.git
synced 2025-01-07 10:26:45 +03:00
🔧 fix: add Content Security Policy (CSP) for dev mode too
This commit is contained in:
parent
53186737d5
commit
53116d4740
@ -53,6 +53,15 @@
|
|||||||
],
|
],
|
||||||
"targets": ["app", "dmg", "appimage", "deb", "updater"]
|
"targets": ["app", "dmg", "appimage", "deb", "updater"]
|
||||||
},
|
},
|
||||||
|
"security": {
|
||||||
|
"csp": {
|
||||||
|
"default-src": "'self'",
|
||||||
|
"img-src": "'self' asset: https://asset.localhost data: https://www.gravatar.com tauri://localhost https://avatars.githubusercontent.com",
|
||||||
|
"connect-src": "'self' https://eu.posthog.com https://app.gitbutler.com https://o4504644069687296.ingest.sentry.io ws://localhost:7703 https://github.com",
|
||||||
|
"script-src": "'self' https://eu.posthog.com",
|
||||||
|
"style-src": "'self' 'unsafe-inline'"
|
||||||
|
}
|
||||||
|
},
|
||||||
"systemTray": {
|
"systemTray": {
|
||||||
"iconPath": "icons/tray.png",
|
"iconPath": "icons/tray.png",
|
||||||
"iconAsTemplate": true
|
"iconAsTemplate": true
|
||||||
|
Loading…
Reference in New Issue
Block a user