This commit is contained in:
qumeng039@126.com 2025-08-15 15:05:14 +08:00
parent e29d901529
commit 5f1ba3d630
3 changed files with 2 additions and 2 deletions

View File

@ -1 +1 @@
VITE_APP_BASE_API = "http://10.7.1.183:5080/api" VITE_APP_BASE_API = "http://172.16.20.3:5080/api"

BIN
dist.zip

Binary file not shown.

View File

@ -16,7 +16,7 @@ export default defineConfig({
open: true, open: true,
proxy: { proxy: {
"/api": { "/api": {
target: "http://10.7.1.183:5080", target: "http://172.16.20.3:5080",
changeOrigin: true changeOrigin: true
// rewrite: (path) => path.replace(/^\/api/, "") //后端带了api/前缀的话就注释 // rewrite: (path) => path.replace(/^\/api/, "") //后端带了api/前缀的话就注释
} }