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), '')