Version detection of Vue.js
This commit is contained in:
parent
9d2595a1d3
commit
465a18cb04
|
@ -204,6 +204,9 @@ shorthands.specialFiles = function (channelHost, channelPath, searchString) {
|
|||
} else if (/cdn\.jsdelivr\.net\/npm\/vue@(2|3)/.test(CompleteURL)) {
|
||||
let version = CompleteURL.slice(-1);
|
||||
lastVersion = targets.setLastVersion(`/vue/${version}.`);
|
||||
if (lastVersion === false) {
|
||||
return false;
|
||||
}
|
||||
return {
|
||||
'source': channelHost,
|
||||
'versionDelivered': lastVersion,
|
||||
|
|
|
@ -29,6 +29,8 @@
|
|||
<li>Updated: video.js v7.14.2 -> v7.14.3 (<a href="https://codeberg.org/nobody/LocalCDN/issues/587">#587</a>)</li>
|
||||
<br>
|
||||
<li>Mapping: vuex -> cdn.jsdelivr.net</li>
|
||||
<br>
|
||||
<li>Fixed: Version detection of Vue.js</li>
|
||||
</ul>
|
||||
<div id="generator-section">
|
||||
<div class="topic-label">
|
||||
|
|
Loading…
Reference in New Issue