fix:修改mainjs token
This commit is contained in:
parent
ad59aa7960
commit
fa0600f315
@ -109,7 +109,7 @@ store.watch(
|
|||||||
wsService.connect(`ws://${window.location.hostname}:8080/websocket?token=${newToken}`);
|
wsService.connect(`ws://${window.location.hostname}:8080/websocket?token=${newToken}`);
|
||||||
}else{
|
}else{
|
||||||
// 外网
|
// 外网
|
||||||
wsService.connect(`ws://${window.location.hostname}:18080/websocket?tsoken=${newToken}`);
|
wsService.connect(`ws://${window.location.hostname}:18080/websocket?token=${newToken}`);
|
||||||
}
|
}
|
||||||
// 本地
|
// 本地
|
||||||
// wsService.connect(`ws://localhost:8080/websocket?token=${newToken}`);
|
// wsService.connect(`ws://localhost:8080/websocket?token=${newToken}`);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user