Shan9312 hace 1 año
padre
commit
7e368fe9f9
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/utils/request.js

+ 1 - 1
src/utils/request.js

@@ -16,7 +16,7 @@ var browserUrl = window.location.hostname
 // console.log("========url===",reg.test(browserUrl))
 // console.log("========url===",reg.test(browserUrl))
 if (reg.test(browserUrl)){
 if (reg.test(browserUrl)){
   // URL = window.location.protocol +"//"+ browserUrl + ":8082"
   // URL = window.location.protocol +"//"+ browserUrl + ":8082"
-  URL = window.location.protocol +"//"+ browserUrl + ":80"
+  URL = window.location.protocol +"//"+ browserUrl + ":8082"
 }
 }
 
 
 Cookies.set('url',URL)
 Cookies.set('url',URL)