2025年04月21日18:21:59

This commit is contained in:
luojiayi 2025-04-21 18:22:01 +08:00
parent 81a291e6c0
commit f61fefa46d
3 changed files with 11 additions and 7 deletions

View File

@ -1,2 +1,5 @@
VITE_APP_URL = 'http://192.168.3.116:8001' # VITE_APP_URL = 'http://192.168.3.116:8001/'
VITE_APP_URL_WEBSOCKET = 'http://192.168.3.116:8000/api/websocket' # VITE_APP_URL_WEBSOCKET = 'http://192.168.3.116:8000/api/websocket'
VITE_APP_URL = 'http://api.handcuff.youaikang.cn'
VITE_APP_URL_WEBSOCKET = 'ws://device.handcuff.youaikang.cn:8000/api/websocket'

View File

@ -1,4 +1,5 @@
VITE_APP_URL = 'http://192.168.3.116:8001/' VITE_APP_URL = 'http://api.handcuff.youaikang.cn'
VITE_APP_URL_WEBSOCKET = 'http://192.168.3.116:8000/api/websocket' VITE_APP_URL_WEBSOCKET = 'http://device.handcuff.youaikang.cn:8000/api/websocket'

View File

@ -69,9 +69,9 @@ onMounted(() => {
// }); // });
// } // }
// if (ws.socket == null) { if (ws.socket == null) {
// ws.connect(); ws.connect();
// } }
}); });
onMounted(() => { onMounted(() => {