0
0
mirror of https://codeberg.org/crimeflare/cloudflare-tor synced 2024-12-22 23:50:31 +00: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;
}
});