1
0
mirror of https://codeberg.org/nobody/LocalCDN.git synced 2025-06-05 21:49:31 +02:00

Updated: shorthands.js

This commit is contained in:
nobody
2021-04-16 06:45:42 +02:00
parent 3b3e389405
commit ee0bda7ade

View File

@@ -168,7 +168,7 @@ shorthands.specialFiles = function (channelHost, channelPath, searchString) {
'path': `resources/twitter-bootstrap/fonts/${helpers.extractFilenameFromPath(channelPath)}`,
'bundle': 'Bootstrap (Fonts)'
};
} else if (/cdnjs\.cloudflare\.com\/ajax\/libs\/jquery\.cycle2\/[\d.]+\//.test(channelHost + channelPath + searchString)) {
} else if (/cdnjs\.cloudflare\.com\/ajax\/libs\/jquery\.cycle2\/[\d.]+\//.test(CompleteURL)) {
if (channelPath.endsWith('js')) {
channelPath += 'm';
}