0
0
mirror of https://git.fuwafuwa.moe/you/stop_cloudflare synced 2024-12-26 15:03:36 +01:00
This commit is contained in:
Michelle Brown 2020-09-13 01:43:23 +02:00
parent 13e2c605f1
commit 2ad2b53b49

View File

@ -7,7 +7,7 @@ browser.webRequest.onResponseStarted.addListener(i => {
}
let iServer = '?';
i.responseHeaders.forEach(x => {
if (x.name == 'Server' || x.name == 'server') {
if (x.name.toLowerCase() == 'server') {
iServer = x.value;
}
});