优化标点交互

This commit is contained in:
Chenhuaqiang
2026-10-09 17:14:05 +08:00
parent 3dc1a1d313
commit e6368e32d5
2 changed files with 225 additions and 12 deletions

View File

@@ -31,12 +31,12 @@ export default defineConfig(({ command }: ConfigEnv) => {
host: true,
proxy: {
'/api': {
target: `http://192.168.3.233:16003/`,
target: `http://192.168.3.110:16003/`,
changeOrigin: true,
rewrite: (path: string) => path.replace(/^\/api/, '')
},
'/ws': {
target: `ws://192.168.3.233:16003/`,
target: `ws://192.168.3.110:16003/`,
changeOrigin: true,
ws: true
}