File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
app/templates/client/components/socket(socketio) Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ angular.module '<%= scriptAppName %>'
66.factory ' socket' , (socketFactory ) ->
77
88 # socket.io now auto-configures its connection when we omit a connection url
9- ioSocket = io null ,
9+ ioSocket = io ' ' ,
1010 ' reconnection limit' : 10 * 1000
1111 # Send auth token on connection, you will need to DI the Auth service above
1212 # 'query': 'token=' + Auth.getToken()
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ angular.module('<%= scriptAppName %>')
55 . factory ( 'socket' , function ( socketFactory ) {
66
77 // socket.io now auto-configures its connection when we ommit a connection url
8- var ioSocket = io ( null , {
8+ var ioSocket = io ( '' , {
99 // Send auth token on connection, you will need to DI the Auth service above
1010 // 'query': 'token=' + Auth.getToken()
1111 } ) ;
You can’t perform that action at this time.
0 commit comments