Moved web socket connection after login check to access config settings for web socket server port.
This commit is contained in:
parent
eb9d32e2b7
commit
94a3797f53
1 changed files with 3 additions and 3 deletions
|
@ -15,12 +15,12 @@ class App.Run extends App.Controller
|
|||
# init collections
|
||||
App.Collection.init()
|
||||
|
||||
# create web socket connection
|
||||
App.WebSocket.connect()
|
||||
|
||||
# check if session already exists/try to get session data from server
|
||||
App.Auth.loginCheck()
|
||||
|
||||
# create web socket connection
|
||||
App.WebSocket.connect()
|
||||
|
||||
# start navbars
|
||||
@setupWidget( 'Navigations', 'nav', @el )
|
||||
|
||||
|
|
Loading…
Reference in a new issue