aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorVendicated <vendicated@riseup.net>2022-09-27 16:59:02 +0200
committerVendicated <vendicated@riseup.net>2022-09-27 16:59:02 +0200
commit0444233dd9640f810ed0c61b97b59d67a606df1a (patch)
tree4fa2aec226d21510f672d33f162b9887f215e911 /src
parent572bfcee6ce343c6bf9d69262576de4e57c01500 (diff)
downloadVencord-0444233dd9640f810ed0c61b97b59d67a606df1a.tar.gz
Vencord-0444233dd9640f810ed0c61b97b59d67a606df1a.tar.bz2
Vencord-0444233dd9640f810ed0c61b97b59d67a606df1a.zip
Undo the oopsie
Diffstat (limited to 'src')
-rw-r--r--src/patcher.ts2
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