mirror of
https://github.com/Synzvato/decentraleyes.git
synced 2025-12-23 15:28:26 -05:00
Improve support for popular Chinese mirrors
This commit is contained in:
@@ -238,5 +238,10 @@ var mappings = {
|
||||
}
|
||||
};
|
||||
|
||||
// Mirror
|
||||
// Geekzu Public Service [Mirror]
|
||||
mappings['sdn.geekzu.org'] = {
|
||||
'/ajax/ajax/libs/': mappings['ajax.googleapis.com']['/ajax/libs/']
|
||||
};
|
||||
|
||||
// USTC Linux User Group [Mirror]
|
||||
mappings['ajax.proxy.ustclug.org'] = mappings['ajax.googleapis.com'];
|
||||
|
||||
@@ -162,6 +162,10 @@ helpers.determineCdnName = function (domainName) {
|
||||
return 'Sina Public Resources';
|
||||
case 'upcdn.b0.upaiyun.com':
|
||||
return 'UpYun Library';
|
||||
case 'sdn.geekzu.org':
|
||||
return 'Geekzu Public Service [Mirror]';
|
||||
case 'ajax.proxy.ustclug.org':
|
||||
return 'USTC Linux User Group [Mirror]';
|
||||
default:
|
||||
return 'Unknown';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user