mirror of
https://codeberg.org/nobody/LocalCDN.git
synced 2024-12-23 00:25:15 +01:00
Fixed: RocketLoader does not load (#446)
This commit is contained in:
parent
0c35a7ec35
commit
ac41d1a9f6
@ -958,7 +958,6 @@ mappings.cdn = {
|
||||
// Cloudflare Rocket-Loader
|
||||
'ajax.cloudflare.com': {
|
||||
'/': {
|
||||
'cdn-cgi/scripts/7089c43e/cloudflare-static/rocket-loader.min.': resources.cfRocketLoader,
|
||||
'cdn-cgi/scripts/04b3eb47/cloudflare-static/mirage2.': resources.mirage2
|
||||
}
|
||||
},
|
||||
|
@ -139,9 +139,6 @@ 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) {
|
||||
@ -152,6 +149,10 @@ requestAnalyzer._findLocalTarget = function (resourceMappings, basePath, channel
|
||||
return shorthandResource;
|
||||
}
|
||||
|
||||
if (resourcePattern === undefined) {
|
||||
return false;
|
||||
}
|
||||
|
||||
for (let resourceMold of Object.keys(resourceMappings)) {
|
||||
if (resourcePattern.startsWith(resourceMold)) {
|
||||
let targetPath, versionDelivered, versionRequested, bundle;
|
||||
|
@ -48,6 +48,7 @@
|
||||
<li>Fixed: [Chromium] extraHeaders permission for sanitization (<a href="https://codeberg.org/nobody/LocalCDN/issues/442">#442</a>)</li>
|
||||
<li>Updated: mdb-ui-kit v3.5.0 -> v3.5.1 (<a href="https://codeberg.org/nobody/LocalCDN/issues/445">#445</a>)</li>
|
||||
<li>Added: bxslider v4.2.15 (<a href="https://codeberg.org/nobody/LocalCDN/issues/446">#446</a>)</li>
|
||||
<li>Fixed: RocketLoader does not load (<a href="https://codeberg.org/nobody/LocalCDN/issues/446">#446</a>)</li>
|
||||
</ul>
|
||||
<div id="generator-section">
|
||||
<div class="topic-label">
|
||||
|
Loading…
Reference in New Issue
Block a user