diff --git a/src/views/remote-manage/remote-control.vue b/src/views/remote-manage/remote-control.vue
index f85f147..8940917 100644
--- a/src/views/remote-manage/remote-control.vue
+++ b/src/views/remote-manage/remote-control.vue
@@ -42,7 +42,7 @@
患者信息
- ping:{{timeDiffPing}}
+ 当前延迟:{{timeDiffPing}}ms
连接远程控制
已控制
diff --git a/vite.config.ts b/vite.config.ts
index f14a5b9..4dc0ef1 100644
--- a/vite.config.ts
+++ b/vite.config.ts
@@ -24,16 +24,16 @@ export default defineConfig({
proxy: {
'/api': {
// target: 'http://localhost:9999', // 目标服务器地址
- target: 'http://localhost:6379', // 目标服务器地址
- // target: 'http://110.41.142.124:6379', // 目标服务器地址
+ //target: 'http://localhost:6379', // 目标服务器地址
+ target: 'http://110.41.142.124:6379', // 目标服务器地址
ws: true, // 是否启用 WebSocket
changeOrigin: true, // 是否修改请求头中的 Origin 字段
rewrite: (path) => path.replace(/^\/api/, ''),
},
'/socket.io': {
// target: 'ws://localhost:9999',
- target: 'ws://localhost:6379',
- // target: 'ws://110.41.142.124:6379',
+ //target: 'ws://localhost:6379',
+ target: 'ws://110.41.142.124:6379',
ws: true,
changeOrigin: true,
rewrite: (path) => path.replace(/^\/socket.io/, ''),