mirror of
https://codeberg.org/nobody/LocalCDN.git
synced 2025-06-05 21:49:31 +02:00
Plugins excluded (#999)
This commit is contained in:
@@ -258,6 +258,13 @@ requestAnalyzer._getPathOfBundle = function (initiator, channelHost, channelPath
|
||||
}
|
||||
if (bundle === 'TinyMCE (Bundle)' && filename !== 'tinymce.min.js') {
|
||||
filename = channelPath.replace(Resource.TINYMCE, '');
|
||||
if (filename.startsWith('plugins/')) {
|
||||
console.warn(`${LogString.PREFIX} ${LogString.MISSING_RESOURCE} ${channelHost + channelPath}`);
|
||||
log.append(initiator, channelHost + channelPath, '-', true);
|
||||
return {
|
||||
'result': false,
|
||||
};
|
||||
}
|
||||
}
|
||||
return helpers.formatFilename(filename.endsWith('.js')
|
||||
? `${targetPath + filename}m`
|
||||
|
Reference in New Issue
Block a user