Skip to content
Snippets Groups Projects
Verified Commit 3b13b60b authored by Thomas Rientjes's avatar Thomas Rientjes
Browse files

Improve support for popular Chinese mirrors

parent 71d4a39b
No related branches found
No related tags found
No related merge requests found
......@@ -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';
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment