1
0
mirror of https://codeberg.org/nobody/LocalCDN.git synced 2025-06-05 21:49:31 +02:00

Fixed block requests for missing resources

This commit is contained in:
nobody42
2020-03-28 11:17:02 +01:00
parent c921159e95
commit 838d0adea5

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) {