1
0
mirror of https://codeberg.org/nobody/LocalCDN.git synced 2025-06-05 21:49:31 +02: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

View File

@@ -201,6 +201,10 @@ statistics._displayNameOfFramework = function (str, type) {
filename = targets.determineBundle(str); filename = targets.determineBundle(str);
if (filename === '' && str.startsWith('resources/font-awesome/')) { if (filename === '' && str.startsWith('resources/font-awesome/')) {
filename = 'Font Awesome (Fonts)'; 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); version = str.match(Resource.VERSION_EXPRESSION);