mirror of
https://github.com/openstf/stf
synced 2025-10-04 02:09:32 +02:00
Update to Socket.IO 1.0.
This commit is contained in:
parent
27d9014e90
commit
41661c9384
4 changed files with 43 additions and 41 deletions
|
@ -1,8 +1,9 @@
|
|||
var io = require('socket.io')
|
||||
|
||||
module.exports = function SocketFactory($rootScope, VersionUpdateService) {
|
||||
var socket = io.connect(null, {
|
||||
reconnect: false
|
||||
var socket = io('/', {
|
||||
reconnection: false
|
||||
, transports: ['websocket']
|
||||
})
|
||||
|
||||
socket.scoped = function($scope) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue