diff --git a/vite.config.ts b/vite.config.ts index c7a08e6..77bf963 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -27,8 +27,8 @@ export default defineConfig({ proxy: { "/api": { // target: "http://192.168.71.2:8080/", // 家 - target: "http://192.168.1.36:8080/", // 公司 - // target: "http://localhost:8080/", // 本地Docker测试 + // target: "http://192.168.1.36:8080/", // 公司 + target: "http://localhost:8081/", // 本地后端(s-file, local-dev 配置) changeOrigin: true, rewrite: (path) => path.replace(/^\/api/, ""), }