mirror of
https://github.com/smartfrigde/armcord.git
synced 2024-08-14 23:56:58 +00:00
parent
45ff7f4ec8
commit
c8107ef588
1 changed files with 1 additions and 1 deletions
|
@ -8,7 +8,7 @@ const unstrictCSP = (): void => {
|
|||
if (!responseHeaders) return done({});
|
||||
|
||||
if (resourceType === "mainFrame") {
|
||||
delete responseHeaders["Content-Security-Policy"];
|
||||
delete responseHeaders["content-security-policy"];
|
||||
} else if (resourceType === "stylesheet") {
|
||||
// Fix hosts that don't properly set the css content type, such as
|
||||
// raw.githubusercontent.com
|
||||
|
|
Loading…
Reference in a new issue