Kaynağa Gözat

更换为https

zouzs 1 hafta önce
ebeveyn
işleme
8ad1f08712
1 değiştirilmiş dosya ile 2 ekleme ve 2 silme
  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}`;