From 5e163108829ce7c3cf9d22e9470373d5d93d2106 Mon Sep 17 00:00:00 2001 From: odc.xiaohui <xiaohui@Q1> Date: 星期二, 27 二月 2024 09:37:15 +0800 Subject: [PATCH] 禁毒办 --- vite.config.ts | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/vite.config.ts b/vite.config.ts index 462a676..73449ef 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -26,8 +26,8 @@ open: true, proxy: { [env.VITE_APP_BASE_API]: { - // target: 'http://192.168.3.228:8080', - target: 'http://localhost:8080', + target: 'http://192.168.3.43:8080', + // target: 'http://localhost:8080', changeOrigin: true, rewrite: (path) => path.replace(new RegExp('^' + env.VITE_APP_BASE_API), '') } -- Gitblit v1.8.0