Yi пре 1 година
родитељ
комит
3ad380ea1c
1 измењених фајлова са 1 додато и 0 уклоњено
  1. 1 0
      src/utils/request.js

+ 1 - 0
src/utils/request.js

@@ -7,6 +7,7 @@ import { getToken } from '@/utils/auth'
 
 var URL = process.env.VUE_APP_BASE_API
 console.log(URL,'===========URL')
+console.log(process.env.VITE_DOMAIN,'===========VITE_DOMAIN')
 //获取当前url
 if(URL.indexOf('/')==0 && URL.length==1){
   URL= window.location.protocol + "//"+window.location.host+URL