mirror of
https://codeberg.org/nobody/LocalCDN.git
synced 2025-01-22 23:40:39 +01:00
Revert "Fix vue special-case mapping always matching"
This commit is contained in:
parent
2d3f831455
commit
3715a9fdb0
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user