mirror of
https://codeberg.org/nobody/LocalCDN.git
synced 2025-02-02 12:27:27 +01:00
Behavior optimized when resources are missing
This commit is contained in:
parent
c9148c5cdd
commit
58fc32f2e6
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user