Verified Commit 3b13b60b authored by Thomas Rientjes's avatar Thomas Rientjes
Browse files

Improve support for popular Chinese mirrors

parent 71d4a39b
...@@ -238,5 +238,10 @@ var mappings = { ...@@ -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']; mappings['ajax.proxy.ustclug.org'] = mappings['ajax.googleapis.com'];
...@@ -162,6 +162,10 @@ helpers.determineCdnName = function (domainName) { ...@@ -162,6 +162,10 @@ helpers.determineCdnName = function (domainName) {
return 'Sina Public Resources'; return 'Sina Public Resources';
case 'upcdn.b0.upaiyun.com': case 'upcdn.b0.upaiyun.com':
return 'UpYun Library'; return 'UpYun Library';
case 'sdn.geekzu.org':
return 'Geekzu Public Service [Mirror]';
case 'ajax.proxy.ustclug.org':
return 'USTC Linux User Group [Mirror]';
default: default:
return 'Unknown'; return 'Unknown';
} }
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment