forked from shaba/openuds
Restore use of WebSocket.
This commit is contained in:
parent
97fd0b8272
commit
24dbd884ad
@ -964,14 +964,14 @@ GuacUI.Client.connect = function() {
|
||||
var tunnel;
|
||||
|
||||
// If WebSocket available, try to use it.
|
||||
/*if (window.WebSocket)
|
||||
if (window.WebSocket)
|
||||
tunnel = new Guacamole.ChainedTunnel(
|
||||
new Guacamole.WebSocketTunnel("websocket-tunnel"),
|
||||
new Guacamole.HTTPTunnel("tunnel")
|
||||
)
|
||||
);
|
||||
|
||||
// If no WebSocket, then use HTTP.
|
||||
else*/
|
||||
else
|
||||
tunnel = new Guacamole.HTTPTunnel("tunnel");
|
||||
|
||||
// Instantiate client
|
||||
|
Loading…
Reference in New Issue
Block a user