duanxiaoduan 1 rok pred
rodič
commit
0bb7a24409
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  1. 1 1
      src/utils/request.js

+ 1 - 1
src/utils/request.js

@@ -15,7 +15,7 @@ var reg =  /(25[0-5]|2[0-4]\d|[0-1]\d{2}|[1-9]?\d)\.(25[0-5]|2[0-4]\d|[0-1]\d{2}
 var browserUrl = window.location.hostname
 console.log("========url===",reg.test(browserUrl))
 if (reg.test(browserUrl)){
-  URL = window.location.protocol +"//"+ browserUrl + ":8082"+URL
+  URL = window.location.protocol +"//"+ browserUrl + ":8082"
 }
 
 Cookies.set('url',URL)