vite.config.js
@@ -9,7 +9,7 @@ const baseUrl = VITE_APP_ENV == "development" ? "http://114.132.189.42:8089" // 开发环境后端接口 : "http://114.132.189.42:7003"; // 生产环境后端接口 : "http://114.132.189.42:9032"; // 生产环境后端接口 return { // 部署生产环境和开发环境下的URL。 @@ -45,7 +45,7 @@ }, // vite 相关配置 server: { port: 80, port: 8001, host: true, open: true, proxy: {