This commit is contained in:
Marcelo Moreira 2020-09-13 01:45:35 +02:00
parent ee95358eba
commit 44b2183135
1 changed files with 1 additions and 1 deletions

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;
} }
}); });