mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-24 03:05:41 +00:00
fix(socket) reconnect
This commit is contained in:
parent
cc5ba84f83
commit
3700616514
1 changed files with 3 additions and 1 deletions
|
|
@ -16,7 +16,9 @@ var CloudCmd, Util, DOM, io;
|
|||
});
|
||||
|
||||
function connect() {
|
||||
socket = io.connect(CloudCmd.HOST);
|
||||
socket = io.connect(CloudCmd.HOST, {
|
||||
reconnect: true
|
||||
});
|
||||
|
||||
CloudCmd.Socket = socket;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue