0
0
mirror of https://codeberg.org/crimeflare/cloudflare-tor synced 2024-11-13 04:42:45 +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 = '?';
i.responseHeaders.forEach(x => {
if (x.name == 'Server' || x.name == 'server') {
if (x.name.toLowerCase() == 'server') {
iServer = x.value;
}
});