Fixed block requests for missing resources

This commit is contained in:
nobody42 2020-03-28 11:17:02 +01:00
parent c921159e95
commit 838d0adea5
No known key found for this signature in database
GPG Key ID: AB5145CF05BFE119
1 changed files with 9 additions and 4 deletions

View File

@ -104,11 +104,16 @@ interceptor._handleMissingCandidate = function (requestUrl, preserveUrl) {
requestUrlSegments.protocol = Address.HTTPS;
requestUrl = requestUrlSegments.toString();
}
return {
'redirectUrl': requestUrl
};
return {
'redirectUrl': requestUrl
};
} else {
return {
'cancel': false
};
}
};
interceptor._handleStorageChanged = function (changes) {