mirror of
https://codeberg.org/nobody/LocalCDN.git
synced 2025-01-28 18:19:30 +01:00
Special case latest gsap and cdnjs.cloudflare.com (#1148)
This commit is contained in:
parent
9de63c9434
commit
a2d6582f93
@ -245,6 +245,17 @@ shorthands.specialFiles = function (channelHost, channelPath, searchString) {
|
||||
'path': `resources/createjs/${lastVersion}/createjs.min.jsm`,
|
||||
'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 {
|
||||
'result': false,
|
||||
|
@ -38,6 +38,7 @@
|
||||
<p>Added</p>
|
||||
<ul>
|
||||
<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>
|
||||
<p>Improved</p>
|
||||
<ul>
|
||||
|
Loading…
x
Reference in New Issue
Block a user