Ver código fonte

打包接口nginx代理

CzRger 9 meses atrás
pai
commit
57c066e16e
1 arquivos alterados com 2 adições e 1 exclusões
  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_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