Ver código fonte

refactor(web): 修改开发环境 API 请求端口

- 将VITE_APP_BASE_URL_DEV 的端口从 8000 更改为 6678
-此修改旨在解决开发环境中的端口冲突问题
fusu 1 mês atrás
pai
commit
41b94a3a87
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      web/.env.development

+ 1 - 1
web/.env.development

@@ -4,7 +4,7 @@ VITE_APP_BASE_URL=http://172.17.0.2:8000
 # https://docs.antdv-pro.com/guide/server.html
 # The following api is requested when the request parameter includes customDev
 VITE_APP_BASE_API_DEV=/dev-api
-VITE_APP_BASE_URL_DEV=http://127.0.0.1:8000/api
+VITE_APP_BASE_URL_DEV=http://127.0.0.1:6678/api
 
 VITE_APP_LOAD_ROUTE_WAY=BACKEND