From 0f6f3f2bcff5f1245d6fd3d7623f6a8ee49fed6d Mon Sep 17 00:00:00 2001 From: nobody Date: Wed, 10 Nov 2021 06:10:53 +0100 Subject: [PATCH] Correct redirection for jquery-latest.js and code.jquery.com (#761) --- core/shorthands.js | 3 ++- pages/updates/updates.html | 4 ++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/core/shorthands.js b/core/shorthands.js index 96c8aeaf..91b4a8b6 100644 --- a/core/shorthands.js +++ b/core/shorthands.js @@ -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', diff --git a/pages/updates/updates.html b/pages/updates/updates.html index 5b6b82be..9fb0fa32 100644 --- a/pages/updates/updates.html +++ b/pages/updates/updates.html @@ -25,6 +25,10 @@

New in LocalCDN:

+

Improved

+

Added