fix 连接ip

This commit is contained in:
Ironsp
2026-05-11 17:21:58 +08:00
parent b98b51deed
commit df90aefad6
3 changed files with 17 additions and 38 deletions

View File

@@ -24,7 +24,7 @@ export default defineConfig(({ mode, command }) => {
open: true,
proxy: {
[env.VITE_APP_BASE_API]: {
target: 'http://localhost:8080',
target: 'http://192.168.0.214:8089',
changeOrigin: true,
ws: true,
rewrite: (path) => path.replace(new RegExp('^' + env.VITE_APP_BASE_API), '')