mirror of
https://codeberg.org/nobody/LocalCDN.git
synced 2025-06-05 21:49:31 +02:00
Added P2P Media Loader Core v0.6.2
This commit is contained in:
@@ -106,7 +106,7 @@ requestAnalyzer._findLocalTarget = function (resourceMappings, basePath, channel
|
||||
targetPath = targetPath.replace(Resource.VERSION_PLACEHOLDER, versionNumber);
|
||||
|
||||
// Replace the requested version with the latest depending on major version
|
||||
version = helpers.setLastVersion(targetPath, versionNumber);
|
||||
version = helpers.setLastVersion(targetPath, versionNumber).toString();
|
||||
targetPath = targetPath.replace(versionNumber, version);
|
||||
|
||||
hostShorthands = shorthands[channelHost];
|
||||
@@ -132,7 +132,7 @@ requestAnalyzer._findLocalTarget = function (resourceMappings, basePath, channel
|
||||
// Prepare and return a local target.
|
||||
return {
|
||||
'source': channelHost,
|
||||
'version': version.toString(),
|
||||
'version': version,
|
||||
'path': targetPath,
|
||||
'bundle': bundle
|
||||
};
|
||||
|
Reference in New Issue
Block a user