mirror of
https://codeberg.org/nobody/LocalCDN.git
synced 2025-06-05 21:49:31 +02:00
Fixed: File extension (#155)
This commit is contained in:
@@ -136,9 +136,8 @@ shorthands.specialFiles = function (channelHost, channelPath, searchString) {
|
|||||||
'bundle': ''
|
'bundle': ''
|
||||||
};
|
};
|
||||||
} else if ((channelHost + channelPath).startsWith('cdn.jsdelivr.net/npm/select2@4.1.0-beta.1/')) {
|
} else if ((channelHost + channelPath).startsWith('cdn.jsdelivr.net/npm/select2@4.1.0-beta.1/')) {
|
||||||
let file = helpers.extractFilenameFromPath(channelPath);
|
if (channelPath.endsWith('js')) {
|
||||||
if (file.endsWith('js')) {
|
channelPath += 'm';
|
||||||
file = file + 'm';
|
|
||||||
}
|
}
|
||||||
lastVersion = targets.setLastVersion('/select2/4.');
|
lastVersion = targets.setLastVersion('/select2/4.');
|
||||||
return {
|
return {
|
||||||
|
Reference in New Issue
Block a user