mirror of
https://codeberg.org/nobody/LocalCDN.git
synced 2025-06-05 21:49:31 +02:00
Fixed #21
This commit is contained in:
@@ -105,9 +105,8 @@ requestAnalyzer._findLocalTarget = function (resourceMappings, basePath, channel
|
||||
targetPath = resourceMappings[resourceMold].path;
|
||||
targetPath = targetPath.replace(Resource.VERSION_PLACEHOLDER, versionNumber);
|
||||
|
||||
// Replace
|
||||
|
||||
version = helpers.setLastVersion(targetPath);
|
||||
// Replace the requested version with the latest depending on major version
|
||||
version = helpers.setLastVersion(targetPath, versionNumber);
|
||||
targetPath = targetPath.replace(versionNumber, version);
|
||||
|
||||
hostShorthands = shorthands[channelHost];
|
||||
|
Reference in New Issue
Block a user