mirror of
https://codeberg.org/nobody/LocalCDN.git
synced 2025-06-05 21:49:31 +02:00
Behavior optimized when resources are missing
This commit is contained in:
@@ -139,6 +139,9 @@ requestAnalyzer._findLocalTarget = function (resourceMappings, basePath, channel
|
||||
} else {
|
||||
resourcePattern = resourcePath.replace(versionNumber, Resource.VERSION_PLACEHOLDER);
|
||||
}
|
||||
if (resourcePattern === undefined) {
|
||||
return false;
|
||||
}
|
||||
|
||||
shorthandResource = shorthands.specialFiles(channelHost, channelPath, destinationSearchString);
|
||||
if (shorthandResource) {
|
||||
|
Reference in New Issue
Block a user