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

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
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`, 'path': `resources/exif-js/${lastVersion}/exif.min.jsm`,
'bundle': '' '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 { return {
'source': channelHost, 'source': channelHost,
'versionDelivered': '1.11.2', 'versionDelivered': '1.11.2',

View File

@ -25,6 +25,10 @@
<h2>New in LocalCDN:</h2> <h2>New in LocalCDN:</h2>
</div> </div>
<div class="release-notes-area"> <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> <p>Added</p>
<ul> <ul>
<li>Fork Awesome v1.2.0 (<a href="https://codeberg.org/nobody/LocalCDN/issues/760">#760</a>)</li> <li>Fork Awesome v1.2.0 (<a href="https://codeberg.org/nobody/LocalCDN/issues/760">#760</a>)</li>