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

Only open release notes in case of new CDNs (#132)

This commit is contained in:
nobody
2020-10-11 12:52:17 +02:00
parent 3bb3657855
commit 1a97b72039
8 changed files with 29 additions and 27 deletions

View File

@@ -77,7 +77,7 @@ requestAnalyzer.getLocalTarget = function (requestDetails) {
}
// Use the proper mappings for the targeted host.
hostMappings = mappings[destinationHost];
hostMappings = mappings.cdn[destinationHost];
// Resource mapping files are never locally available.
if (Resource.MAPPING_EXPRESSION.test(destinationPath)) {