From 0444233dd9640f810ed0c61b97b59d67a606df1a Mon Sep 17 00:00:00 2001 From: Vendicated Date: Tue, 27 Sep 2022 16:59:02 +0200 Subject: [PATCH] Undo the oopsie --- src/patcher.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/patcher.ts b/src/patcher.ts index c2e7660..a1aba2d 100644 --- a/src/patcher.ts +++ b/src/patcher.ts @@ -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