瀏覽代碼

更换为https

zouzs 1 周之前
父節點
當前提交
8ad1f08712
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      src/api/utils.ts

+ 2 - 2
src/api/utils.ts

@@ -1,9 +1,9 @@
 export const baseUrlApi = (url: string) =>
   process.env.NODE_ENV === "development"
     ? `/api/${url}`
-    : `http://nacos.hrwallet8.com/${url}`;
+    : `https://api.hrwallet8.com/${url}`;
 
 export const interfaceUrlApi = (url: string) =>
   process.env.NODE_ENV === "development"
     ? `/api/inPlatfrom/${url}`
-    : `http://nacos.hrwallet8.com/interfaceplatform/${url}`;
+    : `https://api.hrwallet8.com/interfaceplatform/${url}`;