mirror of
https://codeberg.org/nobody/LocalCDN.git
synced 2024-12-23 00:25:15 +01:00
Fixed testing utility
This commit is contained in:
parent
422557ca55
commit
2ff1a94da2
@ -104,16 +104,11 @@ interceptor._handleMissingCandidate = function (requestUrl, preserveUrl) {
|
|||||||
requestUrlSegments.protocol = Address.HTTPS;
|
requestUrlSegments.protocol = Address.HTTPS;
|
||||||
requestUrl = requestUrlSegments.toString();
|
requestUrl = requestUrlSegments.toString();
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
return {
|
return {
|
||||||
'redirectUrl': requestUrl
|
'redirectUrl': requestUrl
|
||||||
};
|
};
|
||||||
|
|
||||||
} else {
|
|
||||||
|
|
||||||
return {
|
|
||||||
'cancel': false
|
|
||||||
};
|
|
||||||
}
|
|
||||||
};
|
};
|
||||||
|
|
||||||
interceptor._handleStorageChanged = function (changes) {
|
interceptor._handleStorageChanged = function (changes) {
|
||||||
|
Loading…
Reference in New Issue
Block a user