Fix Settings UI
This commit is contained in:
parent
6398dd25d2
commit
572bfcee6c
6 changed files with 61 additions and 38 deletions
|
|
@ -55,7 +55,7 @@ electron.app.whenReady().then(() => {
|
|||
// Remove CSP
|
||||
electron.session.defaultSession.webRequest.onHeadersReceived(({ responseHeaders, url }, cb) => {
|
||||
if (responseHeaders) {
|
||||
delete responseHeaders["content-security-policy-report-only"];
|
||||
delete responseHeaders["content-security-policy-reportgnly"];
|
||||
delete responseHeaders["content-security-policy"];
|
||||
|
||||
// Fix hosts that don't properly set the content type, such as
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue