Updated: rocket-loader (#429)

This commit is contained in:
nobody 2021-04-29 07:18:12 +02:00
parent cc974e75d7
commit a14820a29e
No known key found for this signature in database
GPG Key ID: 8F6DE3D614FCFD7A
4 changed files with 5 additions and 3 deletions

View File

@ -207,7 +207,8 @@ const Regex = {
'FONT_AWESOME': /use\.fontawesome\.com\/fa-loader\.css/,
'FONT_AWESOME_WITH_CODE': /use\.fontawesome\.com\/[a-z0-9]{10}\.(js|css)/,
'FONT_AWESOME_FONTS_ONLY': /\/font-?awesome\/(?:\d{1,2}\.){1,3}\d{1,2}\/fonts\//,
'BOOTSTRAP_FONTS_ONLY': /\/bootstrap\/(?:\d{1,2}\.){1,3}\d{1,2}\/fonts\//
'BOOTSTRAP_FONTS_ONLY': /\/bootstrap\/(?:\d{1,2}\.){1,3}\d{1,2}\/fonts\//,
'ROCKET_LOADER': /ajax\.cloudflare\.com\/cdn-cgi\/scripts\/[\d\w]{8}\/cloudflare-static\/rocket-loader\.min\.js/
};
const MaterialIcons = {

View File

@ -115,7 +115,7 @@ shorthands.specialFiles = function (channelHost, channelPath, searchString) {
'path': `resources/vue/${lastVersion}/vue.min.jsm`,
'bundle': ''
};
} else if ((channelHost + channelPath) === 'ajax.cloudflare.com/cdn-cgi/scripts/7089c43e/cloudflare-static/rocket-loader.min.js') {
} else if (Regex.ROCKET_LOADER.test(CompleteURL)) {
return {
'source': channelHost,
'versionRequested': 'latest',

View File

@ -28,6 +28,7 @@
<li>Added: Snowplow v2.17.3 (<a href="https://codeberg.org/nobody/LocalCDN/issues/419">#419</a>)</li>
<li>Added: Bowser v1.9.4 and v2.11.0 (<a href="https://codeberg.org/nobody/LocalCDN/issues/427">#427</a>)</li>
<li>Fixed: Default values after startup (<a href="https://codeberg.org/nobody/LocalCDN/issues/343">#343</a>, <a href="https://codeberg.org/nobody/LocalCDN/issues/428">#428</a>)</li>
<li>Updated: rocket-loader (<a href="https://codeberg.org/nobody/LocalCDN/issues/429">#429</a>)</li>
</ul>
<div id="generator-section">
<div class="topic-label">

File diff suppressed because one or more lines are too long