瀏覽代碼

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

xuyiping 1 年之前
父節點
當前提交
be376de1f6
共有 2 個文件被更改,包括 4 次插入6 次删除
  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