mirror of
https://codeberg.org/nobody/LocalCDN.git
synced 2025-06-05 21:49:31 +02:00
Special case latest gsap and cdnjs.cloudflare.com (#1148)
This commit is contained in:
@@ -245,6 +245,17 @@ shorthands.specialFiles = function (channelHost, channelPath, searchString) {
|
|||||||
'path': `resources/createjs/${lastVersion}/createjs.min.jsm`,
|
'path': `resources/createjs/${lastVersion}/createjs.min.jsm`,
|
||||||
'bundle': ''
|
'bundle': ''
|
||||||
};
|
};
|
||||||
|
} else if (CompleteURL.startsWith('cdnjs.cloudflare.com/ajax/libs/gsap/latest/')) {
|
||||||
|
if (channelPath.endsWith('js')) {
|
||||||
|
channelPath += 'm';
|
||||||
|
}
|
||||||
|
lastVersion = '1.20.5';
|
||||||
|
return {
|
||||||
|
'source': channelHost,
|
||||||
|
'versionDelivered': lastVersion,
|
||||||
|
'path': `resources/gsap/${lastVersion}/${helpers.extractFilenameFromPath(channelPath)}`,
|
||||||
|
'bundle': 'GSAP'
|
||||||
|
};
|
||||||
}
|
}
|
||||||
return {
|
return {
|
||||||
'result': false,
|
'result': false,
|
||||||
|
@@ -38,6 +38,7 @@
|
|||||||
<p>Added</p>
|
<p>Added</p>
|
||||||
<ul>
|
<ul>
|
||||||
<li>videojs-seek-buttons v3.0.0 (<a href="https://codeberg.org/nobody/LocalCDN/issues/1140">#1140</a>)</li>
|
<li>videojs-seek-buttons v3.0.0 (<a href="https://codeberg.org/nobody/LocalCDN/issues/1140">#1140</a>)</li>
|
||||||
|
<li>Special case latest gsap and cdnjs.cloudflare.com (<a href="https://codeberg.org/nobody/LocalCDN/issues/1148">#1148</a>)</li>
|
||||||
</ul>
|
</ul>
|
||||||
<p>Improved</p>
|
<p>Improved</p>
|
||||||
<ul>
|
<ul>
|
||||||
|
Reference in New Issue
Block a user