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

Revert "Fix vue special-case mapping always matching"

This commit is contained in:
nobody
2021-08-03 07:03:21 +02:00
parent 2d3f831455
commit 3715a9fdb0

View File

@@ -201,7 +201,7 @@ shorthands.specialFiles = function (channelHost, channelPath, searchString) {
'path': `resources/materialize/1.0.0/${channelPath}`,
'bundle': 'Materialize'
};
} else if (/cdn\.jsdelivr\.net\/npm\/vue@(2|3)$/.test(CompleteURL)) {
} else if (/cdn\.jsdelivr\.net\/npm\/vue@(2|3)/.test(CompleteURL)) {
let version = CompleteURL.match(Resource.VERSION_EXPRESSION);
lastVersion = targets.setLastVersion(`/vue/${version}.`);
if (lastVersion === false) {