dongjh 2 ヶ月 前
コミット
0a39a39879
共有2 個のファイルを変更した3 個の追加2 個の削除を含む
  1. 2 2
      .env.production
  2. 1 0
      .gitignore

+ 2 - 2
.env.production

@@ -1,6 +1,6 @@
 NODE_ENV=production
-# 打包时修改该配置 因为有别的电脑会使用,这里要设置成真实IP
-VUE_APP_API_BASE_URL='/interlock'
+# 打包时修改该配置 根据nginx中反向代理设置进行修改
+VUE_APP_API_BASE_URL='/interlockapi'
 # VUE_APP_API_BASE_URL=http://192.168.31.110:8520/jeecg-boot
 VUE_APP_CAS_BASE_URL=http://localhost:8888/cas
 VUE_APP_ONLINE_BASE_URL=http://fileview.jeecg.com/onlinePreview

+ 1 - 0
.gitignore

@@ -12,6 +12,7 @@ dist
 **/target
 **/logs
 **/dist
+**/interlock
 
 ## front
 /yarn-error.log