소스 검색

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