mirror of
https://github.com/gitbutlerapp/gitbutler.git
synced 2024-11-24 05:29:51 +03:00
adjst csp to work in production
This commit is contained in:
parent
ba5bb45f58
commit
ae6e9653aa
@ -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",
|
||||
|
Loading…
Reference in New Issue
Block a user