We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent abcd934 commit f93d7e1Copy full SHA for f93d7e1
src/init.js
@@ -16,7 +16,13 @@ function getDefaultServerURLs(appId, region) {
16
switch (appId.slice(-9)) {
17
case '-9Nh9j0Va':
18
// TAB
19
- return fillServerURLs('https://e1-api.leancloud.cn');
+ id = appId.slice(0, 8).toLowerCase();
20
+ return {
21
+ push: `https://${id}.push.lncldapi.com`,
22
+ stats: `https://${id}.stats.lncldapi.com`,
23
+ engine: `https://${id}.engine.lncldapi.com`,
24
+ api: `https://${id}.api.lncldapi.com`,
25
+ };
26
case '-MdYXbMMI':
27
// US
28
return fillServerURLs('https://us-api.leancloud.cn');
0 commit comments