From 06b8aad6929e04c3a5e7f41310080f2a04348552 Mon Sep 17 00:00:00 2001 From: gaoshp <291585735@qq.com> Date: 星期二, 27 五月 2025 23:47:57 +0800 Subject: [PATCH] 修改代理地址 --- vite.config.mjs | 8 +++++++- 1 files changed, 7 insertions(+), 1 deletions(-) diff --git a/vite.config.mjs b/vite.config.mjs index 3cbb3d4..793639f 100644 --- a/vite.config.mjs +++ b/vite.config.mjs @@ -1,3 +1,9 @@ +/* + * @Date: 2025-05-27 23:44:41 + * @LastEditors: gaoshp + * @LastEditTime: 2025-05-27 23:46:04 + * @FilePath: /mdmweb/vite.config.mjs + */ import { defineConfig, loadEnv @@ -54,7 +60,7 @@ port: 2888, proxy: { '/api': { - target: 'http://localhost', + target: 'http://120.46.212.231:80', //target: 'https://saber3.bladex.cn/api', changeOrigin: true, rewrite: path => path.replace(/^\/api/, ''), -- Gitblit v1.9.3