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

Redirection fixed (#999)

This commit is contained in:
nobody
2022-05-23 06:15:05 +02:00
parent 2b0863bda9
commit 0ee602102e
2 changed files with 4 additions and 0 deletions

View File

@@ -256,6 +256,9 @@ requestAnalyzer._getPathOfBundle = function (initiator, channelHost, channelPath
};
}
}
if (bundle === 'TinyMCE (Bundle)' && filename !== 'tinymce.min.js') {
filename = channelPath.replace(Resource.TINYMCE, '');
}
return helpers.formatFilename(filename.endsWith('.js')
? `${targetPath + filename}m`
: targetPath + filename);