lsc 3 viikkoa sitten
vanhempi
commit
bce6140076
1 muutettua tiedostoa jossa 5 lisäystä ja 5 poistoa
  1. 5 5
      js/Desktop/Onload.js

+ 5 - 5
js/Desktop/Onload.js

@@ -54,7 +54,7 @@ window.onload = function () {
 
 US.Config = {
     server: '//cloud.api.cocorobo.hk/api/',
-    api: '//beta.api.cocorobo.cn/',
+    api: '//cloud.api.cocorobo.hk/',
     chat: "//chat.api.cocorobo.cn/",
     edu: '//api.edu.cocorobo.cn/edu/',
     origin: '//cocorobo.cn',
@@ -405,7 +405,7 @@ U.MD.D.getuser = function () {
                         credentials: 'include'
                      };
                      
-                     fetch("https://beta.api.cocorobo.cn/api/user", requestOptionsLogin)
+                     fetch("https://cloud.api.cocorobo.hk/api/user", requestOptionsLogin)
                         .then(response => response.text())
                         .then(result => {
                             let a = JSON.parse(result)
@@ -469,7 +469,7 @@ U.MD.D.getuser = function () {
                         credentials: 'include'
                      };
                      
-                     fetch("https://beta.api.cocorobo.cn/api/user", requestOptionsLogin)
+                     fetch("https://cloud.api.cocorobo.hk/api/user", requestOptionsLogin)
                         .then(response => response.text())
                         .then(result => {
                             let a = JSON.parse(result)
@@ -537,7 +537,7 @@ U.MD.D.getuser = function () {
                         credentials: 'include'
                      };
                      
-                     fetch("https://beta.api.cocorobo.cn/api/user", requestOptionsLogin)
+                     fetch("https://cloud.api.cocorobo.hk/api/user", requestOptionsLogin)
                         .then(response => response.text())
                         .then(result => {
                             let a = JSON.parse(result)
@@ -702,7 +702,7 @@ U.MD.D.getuser2 = function (userid, cid) {
         credentials: 'include' // 设置withCredentials为true
      };
      
-     fetch("https://beta.api.cocorobo.cn/api/user", requestOptionsLogin)
+     fetch("https://cloud.api.cocorobo.hk/api/user", requestOptionsLogin)
         .then(response => response.text())
         .then(result => {
             let a = JSON.parse(result)