fix 服务器环境配置

This commit is contained in:
Ironsp
2026-08-13 11:48:53 +08:00
parent aba75fdd7c
commit 000472231c
3 changed files with 2 additions and 6 deletions

View File

@@ -38,4 +38,4 @@ VITE_APP_WEBSOCKET = false
# sse 开关
VITE_APP_SSE = true
VITE_BASE_API = "http://47.104.215.165:8080"
VITE_BASE_API = "http://47.104.215.165:8089"

View File

@@ -5,10 +5,6 @@
"ComputedRef": true,
"DirectiveBinding": true,
"EffectScope": true,
"ElLoading": true,
"ElMessage": true,
"ElMessageBox": true,
"ElNotification": true,
"ExtractDefaultPropTypes": true,
"ExtractPropTypes": true,
"ExtractPublicPropTypes": true,

View File

@@ -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:8080',
target: 'http://47.104.215.165:8089',
changeOrigin: true,
ws: true,
rewrite: (path) => path.replace(new RegExp('^' + env.VITE_APP_BASE_API), '')