Fixed block requests for missing resources
This commit is contained in:
parent
c921159e95
commit
838d0adea5
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue