2025年04月21日18:21:59
This commit is contained in:
parent
81a291e6c0
commit
f61fefa46d
@ -1,2 +1,5 @@
|
||||
VITE_APP_URL = 'http://192.168.3.116:8001'
|
||||
VITE_APP_URL_WEBSOCKET = 'http://192.168.3.116:8000/api/websocket'
|
||||
# VITE_APP_URL = 'http://192.168.3.116:8001/'
|
||||
# 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'
|
||||
|
@ -1,4 +1,5 @@
|
||||
VITE_APP_URL = 'http://192.168.3.116:8001/'
|
||||
VITE_APP_URL_WEBSOCKET = 'http://192.168.3.116:8000/api/websocket'
|
||||
VITE_APP_URL = 'http://api.handcuff.youaikang.cn'
|
||||
VITE_APP_URL_WEBSOCKET = 'http://device.handcuff.youaikang.cn:8000/api/websocket'
|
||||
|
||||
|
||||
|
||||
|
@ -69,9 +69,9 @@ onMounted(() => {
|
||||
// });
|
||||
// }
|
||||
|
||||
// if (ws.socket == null) {
|
||||
// ws.connect();
|
||||
// }
|
||||
if (ws.socket == null) {
|
||||
ws.connect();
|
||||
}
|
||||
});
|
||||
|
||||
onMounted(() => {
|
||||
|
Loading…
x
Reference in New Issue
Block a user