|
@@ -23,7 +23,14 @@
|
|
|
}
|
|
}
|
|
|
],
|
|
],
|
|
|
"security": {
|
|
"security": {
|
|
|
- "csp": null
|
|
|
|
|
|
|
+ "csp": {
|
|
|
|
|
+ "default-src": "'self' customprotocol: asset:",
|
|
|
|
|
+ "connect-src": "ipc: http://ipc.localhost",
|
|
|
|
|
+ "font-src": ["https://fonts.gstatic.com"],
|
|
|
|
|
+ "img-src": "'self' asset: http://asset.localhost blob: data:",
|
|
|
|
|
+ "style-src": "'unsafe-inline' 'self' https://fonts.googleapis.com",
|
|
|
|
|
+ "media-src":"'self'"
|
|
|
|
|
+ }
|
|
|
},
|
|
},
|
|
|
"macOSPrivateApi": true
|
|
"macOSPrivateApi": true
|
|
|
},
|
|
},
|