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