From c136d653e495b04b851bad8d3029dbb99d72b90b Mon Sep 17 00:00:00 2001 From: Ironsp <1522278303@qq.com> Date: Thu, 15 Oct 2026 09:11:12 +0800 Subject: [PATCH] =?UTF-8?q?feat=20=20=E4=BF=AE=E6=94=B9=E6=9C=8D=E5=8A=A1?= =?UTF-8?q?=E5=99=A8=E5=9C=B0=E5=9D=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.development | 4 +--- .env.production | 2 +- vite.config.ts | 2 +- 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/.env.development b/.env.development index e6af85b..28b34b1 100644 --- a/.env.development +++ b/.env.development @@ -35,6 +35,4 @@ VITE_APP_WEBSOCKET = false # sse 开关 VITE_APP_SSE = true -# http://192.168.0.214:8089 -# VITE_BASE_API = "http://47.104.208.94:8089" -VITE_BASE_API = "http://47.104.215.165:8080" +VITE_BASE_API = "http://114.132.183.172:8080" diff --git a/.env.production b/.env.production index a30a4e5..502a093 100644 --- a/.env.production +++ b/.env.production @@ -38,4 +38,4 @@ VITE_APP_WEBSOCKET = false # sse 开关 VITE_APP_SSE = true -VITE_BASE_API = "http://47.104.215.165:8089" +VITE_BASE_API = "http://114.132.183.172:8089" diff --git a/vite.config.ts b/vite.config.ts index 8dea01f..de912d8 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -25,7 +25,7 @@ export default defineConfig(({ mode, command }) => { proxy: { [env.VITE_APP_BASE_API]: { // target: 'http://47.104.208.94:8089', - target: 'http://47.104.215.165:8089', + target: 'http://114.132.183.172:8089', changeOrigin: true, ws: true, rewrite: (path) => path.replace(new RegExp('^' + env.VITE_APP_BASE_API), '')