Browse Source

打包接口nginx代理

CzRger 8 months ago
parent
commit
57c066e16e
1 changed files with 2 additions and 1 deletions
  1. 2 1
      snowy-admin-web/.env.production

+ 2 - 1
snowy-admin-web/.env.production

@@ -5,7 +5,8 @@ NODE_ENV = production
 VITE_TITLE = yqyc
 VITE_TITLE = yqyc
 
 
 # 接口地址
 # 接口地址
-VITE_API_BASEURL = http://8.130.72.63:18070
+#VITE_API_BASEURL = http://8.130.72.63:18070
+VITE_API_BASEURL = '/yqyc-api'
 
 
 # 本地端口
 # 本地端口
 VITE_PORT = 18066
 VITE_PORT = 18066