1
0
mirror of https://github.com/bingohuang/docker-labs.git synced 2025-07-14 01:57:32 +08:00

rollback transports

This commit is contained in:
Jonathan Leibiusky (@xetorthio) 2016-11-11 20:19:21 -03:00
parent 1be40005e8
commit 869842e10e

View File

@ -64,7 +64,7 @@
method: 'GET',
url: '/sessions/' + $scope.sessionId,
}).then(function(response) {
var socket = io({path: '/sessions/' + sessionId + '/ws', transports: ['polling']});
var socket = io({path: '/sessions/' + sessionId + '/ws'});
socket.on('terminal out', function(name, data) {
var instance = $scope.idx[name];