Correct redirection for jquery-latest.js and code.jquery.com (#761)

This commit is contained in:
nobody 2021-11-10 06:10:53 +01:00
parent 2225cf96e2
commit 0f6f3f2bcf
No known key found for this signature in database
GPG Key ID: 8F6DE3D614FCFD7A
2 changed files with 6 additions and 1 deletions

View File

@ -223,7 +223,8 @@ shorthands.specialFiles = function (channelHost, channelPath, searchString) {
'path': `resources/exif-js/${lastVersion}/exif.min.jsm`,
'bundle': ''
};
} else if (CompleteURL.startsWith('ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js')) {
} else if (CompleteURL.startsWith('ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js') ||
CompleteURL.startsWith('code.jquery.com/jquery-latest.')) {
return {
'source': channelHost,
'versionDelivered': '1.11.2',

View File

@ -25,6 +25,10 @@
<h2>New in LocalCDN:</h2>
</div>
<div class="release-notes-area">
<p>Improved</p>
<ul>
<li>Correct redirection for jquery-latest.js and code.jquery.com (<a href="https://codeberg.org/nobody/LocalCDN/issues/761">#761</a>)</li>
</ul>
<p>Added</p>
<ul>
<li>Fork Awesome v1.2.0 (<a href="https://codeberg.org/nobody/LocalCDN/issues/760">#760</a>)</li>