1
0
mirror of https://codeberg.org/nobody/LocalCDN.git synced 2024-12-23 08:30:38 +01:00

Improved: Missing resources in statistics page

This commit is contained in:
nobody 2021-02-21 20:03:16 +01:00
parent 28b7ba1c93
commit 3e8f47a627
No known key found for this signature in database
GPG Key ID: 8F6DE3D614FCFD7A

View File

@ -201,6 +201,10 @@ statistics._displayNameOfFramework = function (str, type) {
filename = targets.determineBundle(str);
if (filename === '' && str.startsWith('resources/font-awesome/')) {
filename = 'Font Awesome (Fonts)';
} else if (str === 'resources/google-charts/loader.jsm') {
filename = 'Google Charts';
} else if (str === 'resources/fontawesome/5.15.1/css/v4-shims.css') {
filename = 'Font Awesome (Shim)';
}
}
version = str.match(Resource.VERSION_EXPRESSION);