提交 1f2863e7 编写于 作者: D David Benson

Merge commit 'b43d9d4e' into dev

{
"name": "draw.io",
"version": "21.6.8",
"version": "21.7.5",
"description": "draw.io desktop",
"main": "src/main/electron.js",
"scripts": {
......
......@@ -278,7 +278,7 @@ app.on('ready', e =>
responseHeaders: {
...details.responseHeaders,
// Replace the first sha with the one of the current version shown in the console log (the second one is for the second script block which is rarely changed)
'Content-Security-Policy': ['default-src \'self\'; script-src \'self\' \'sha256-PDJOTCOfwIg8Ri7U2PH1pIpx+haCyKsJEbFxlW6hdSI=\' \'sha256-6g514VrT/cZFZltSaKxIVNFF46+MFaTSDTPB8WfYK+c=\'; connect-src \'self\'' +
'Content-Security-Policy': ['default-src \'self\'; script-src \'self\' \'sha256-dLMFD7ijAw6AVaqecS7kbPcFFzkxQ+yeZSsKpOdLxps=\' \'sha256-6g514VrT/cZFZltSaKxIVNFF46+MFaTSDTPB8WfYK+c=\'; connect-src \'self\'' +
(isGoogleFontsEnabled? ' https://fonts.googleapis.com https://fonts.gstatic.com' : '') + '; img-src * data:; media-src *; font-src *; frame-src \'none\'; style-src \'self\' \'unsafe-inline\'' +
(isGoogleFontsEnabled? ' https://fonts.googleapis.com' : '') + '; base-uri \'none\';child-src \'self\';object-src \'none\';']
}
......
此差异已折叠。
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册