0
0
mirror of https://codeberg.org/crimeflare/cloudflare-tor synced 2024-11-14 05:12:50 +00:00
This commit is contained in:
Marcelo Moreira 2020-09-13 01:45:35 +02:00
parent ee95358eba
commit 44b2183135

View File

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