Explorar o código

Merge branch 'bug-wt' of uskycloud/usky-web-mobile into master

王涛 hai 14 horas
pai
achega
c40180f497
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/config.js

+ 1 - 1
src/config.js

@@ -9,7 +9,7 @@ export default {
   //#endif
 
   //#ifdef H5
-  baseUrl: import.meta.env.MODE === "production" ? `https://${window.location.host}/prod-api` : `http://192.168.10.165:801/dev-api`,
+  baseUrl: import.meta.env.MODE === "production" ? window.location.host.indexOf("") > -1 ? `https://${window.location.host}/prod-api` : `http://${window.location.host}/prod-api` : `http://192.168.10.165:801/dev-api`,
   //#endif
 
   websiteUrl: "https://qhome.usky.cn",