Undo the oopsie

This commit is contained in:
Vendicated 2022-09-27 16:59:02 +02:00
parent 572bfcee6c
commit 0444233dd9
No known key found for this signature in database
GPG key ID: EC781ADFB93EFFA3

View file

@ -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-reportgnly"];
delete responseHeaders["content-security-policy-report-only"];
delete responseHeaders["content-security-policy"];
// Fix hosts that don't properly set the content type, such as