mirror of
https://github.com/bingohuang/docker-labs.git
synced 2025-07-15 02:37:27 +08:00
rollback transports
This commit is contained in:
parent
1be40005e8
commit
869842e10e
@ -64,7 +64,7 @@
|
|||||||
method: 'GET',
|
method: 'GET',
|
||||||
url: '/sessions/' + $scope.sessionId,
|
url: '/sessions/' + $scope.sessionId,
|
||||||
}).then(function(response) {
|
}).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) {
|
socket.on('terminal out', function(name, data) {
|
||||||
var instance = $scope.idx[name];
|
var instance = $scope.idx[name];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user