mirror of
https://github.com/DeviceFarmer/stf.git
synced 2026-04-18 08:03:30 +02:00
Only use websocket transport. Currently we cannot guarantee state integrity on reconnect, so let's disable it for now.
This commit is contained in:
@@ -1,7 +1,9 @@
|
||||
var io = require('socket.io')
|
||||
|
||||
module.exports = function SocketFactory($rootScope) {
|
||||
var socket = io.connect()
|
||||
module.exports = function SocketFactory() {
|
||||
var socket = io.connect(null, {
|
||||
reconnect: false
|
||||
})
|
||||
|
||||
socket.scoped = function($scope) {
|
||||
var listeners = []
|
||||
|
||||
Reference in New Issue
Block a user