mirror of
https://github.com/DeviceFarmer/stf.git
synced 2026-04-18 08:03:30 +02:00
Rename the APP global variable to APPSTATE. It will soon contain more information.
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
var io = require('socket.io')
|
||||
|
||||
module.exports = function SocketFactory($rootScope, VersionUpdateService) {
|
||||
/*globals APP:false*/
|
||||
/*globals APPSTATE:false*/
|
||||
|
||||
var socket = io(APP.websocketUrl, {
|
||||
var socket = io(APPSTATE.config.websocketUrl, {
|
||||
reconnection: false
|
||||
, transports: ['websocket']
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user