Browse Source

docker: env3

Yi 1 year ago
parent
commit
3ad380ea1c
1 changed files with 1 additions and 0 deletions
  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