diff options
author | Vendicated <vendicated@riseup.net> | 2022-09-27 16:59:02 +0200 |
---|---|---|
committer | Vendicated <vendicated@riseup.net> | 2022-09-27 16:59:02 +0200 |
commit | 0444233dd9640f810ed0c61b97b59d67a606df1a (patch) | |
tree | 4fa2aec226d21510f672d33f162b9887f215e911 /src/patcher.ts | |
parent | 572bfcee6ce343c6bf9d69262576de4e57c01500 (diff) | |
download | Vencord-0444233dd9640f810ed0c61b97b59d67a606df1a.tar.gz Vencord-0444233dd9640f810ed0c61b97b59d67a606df1a.tar.bz2 Vencord-0444233dd9640f810ed0c61b97b59d67a606df1a.zip |
Undo the oopsie
Diffstat (limited to 'src/patcher.ts')
-rw-r--r-- | src/patcher.ts | 2 |
1 files changed, 1 insertions, 1 deletions
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 |