This commit is contained in:
Michelle Brown 2020-09-13 01:43:23 +02:00
parent 13e2c605f1
commit 2ad2b53b49
1 changed files with 1 additions and 1 deletions

View File

@ -7,7 +7,7 @@ browser.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;
} }
}); });