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