vite.config.js
@@ -8,7 +8,7 @@ const { VITE_APP_ENV } = env; const baseUrl = VITE_APP_ENV == "development" ? "http://192.168.10.2:7003" // 开发环境后端接口 ? "http://192.168.1.138:7788" // 开发环境后端接口 : "http://114.132.189.42:7003"; // 生产环境后端接口 return { @@ -45,7 +45,7 @@ }, // vite 相关配置 server: { port: 80, port: 8001, host: true, open: true, proxy: {