Sfoglia il codice sorgente

Merge branch 'feature/docker-env-url' of duanxiaoduan/tmr-group-admin into develop

xuyiping 1 anno fa
parent
commit
be376de1f6
2 ha cambiato i file con 4 aggiunte e 6 eliminazioni
  1. 3 3
      .env.development
  2. 1 3
      .env.production

+ 3 - 3
.env.development

@@ -3,10 +3,10 @@ ENV = 'development'
 
 # base api
 # 测试线
-VUE_APP_BASE_API = 'http://192.168.1.70:8081/'
+# VUE_APP_BASE_API = 'http://192.168.1.70:8081/'
+VUE_APP_BASE_API = $API_URL
 
-
-#许义平本地
+#许义平本地
 # VUE_APP_BASE_API = 'http://192.168.1.96:8090/'
 
 #=====

+ 1 - 3
.env.production

@@ -3,7 +3,5 @@ ENV = 'production'
 
 # base api
 # 正式线
-# VUE_APP_BASE_API = ':8081/'
-VUE_APP_BASE_API = '/'
-# VUE_APP_BASE_API = 'http://kpt8081.kptyun.com/'
+VUE_APP_BASE_API = $API_URL