Skip to content

Commit

Permalink
Merge commit 'baf07467354fce3028bfa957a60fb4bc43f486ba' into release
Browse files Browse the repository at this point in the history
  • Loading branch information
davidjgraph committed Apr 29, 2024
2 parents 826b79b + baf0746 commit 057a8ce
Show file tree
Hide file tree
Showing 2 changed files with 651 additions and 441 deletions.
2 changes: 1 addition & 1 deletion src/main/electron.js
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,7 @@ app.on('ready', e =>
...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)
// 3rd sha is for electron-progressbar
'Content-Security-Policy': ['default-src \'self\'; script-src \'self\' \'sha256-dLMFD7ijAw6AVaqecS7kbPcFFzkxQ+yeZSsKpOdLxps=\' \'sha256-6g514VrT/cZFZltSaKxIVNFF46+MFaTSDTPB8WfYK+c=\' \'sha256-ZQ86kVKhLmcnklYAnUksoyZaLkv7vvOG9cc/hBJAEuQ=\'; connect-src \'self\'' +
'Content-Security-Policy': ['default-src \'self\'; script-src \'self\' \'sha256-CuxCZzdV/xHExthsNvH0rD+sU8zQAaYT5XLu6LHfH78=\' \'sha256-6g514VrT/cZFZltSaKxIVNFF46+MFaTSDTPB8WfYK+c=\' \'sha256-ZQ86kVKhLmcnklYAnUksoyZaLkv7vvOG9cc/hBJAEuQ=\'; 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\';']
}
Expand Down
Loading

0 comments on commit 057a8ce

Please sign in to comment.