From 5180a8ce93075241179df12cc02f72ad2a8b0a40 Mon Sep 17 00:00:00 2001
From: GuLiMmo <2820890765@qq.com>
Date: Thu, 29 Aug 2024 14:42:12 +0800
Subject: [PATCH] chore
---
vite.config.mjs | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/vite.config.mjs b/vite.config.mjs
index e309382..3077869 100644
--- a/vite.config.mjs
+++ b/vite.config.mjs
@@ -46,8 +46,8 @@
port: 2888,
proxy: {
'/api': {
- // target: 'http://localhost',
- target: 'https://wrj.shuixiongit.com/api',
+ target: 'http://localhost',
+ // target: 'https://wrj.shuixiongit.com/api',
changeOrigin: true,
rewrite: path => path.replace(/^\/api/, ''),
},
--
Gitblit v1.9.3