From 36e044280298d6f6b37b1295f9eba25584ef66a2 Mon Sep 17 00:00:00 2001 From: Gary Gu <garygu@Garydebijibendiannao.local> Date: Wed, 28 May 2025 09:13:42 +0800 Subject: [PATCH] feat: 增加设备分类 --- vite.config.js | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/vite.config.js b/vite.config.js index cee0dd3..b0162fb 100644 --- a/vite.config.js +++ b/vite.config.js @@ -52,7 +52,7 @@ proxy: { "^/api/": { // target: "http://47.117.124.20:2002/", - target: "http://8.140.54.245:5000/", + target: "http://101.201.155.10:4011/", rewrite: (path) => path.replace(/^\/api\//, ""), changeOrigin: true, //通过浏览器查看像是"未生效",实际发送给后端的是更改过的Host(与target的host相同) }, -- Gitblit v1.9.3