Adding the token to the socket url

This commit is contained in:
jaredevantabor 2016-10-20 12:58:45 -07:00
parent d84912bb2a
commit 6bd20c6433

View File

@ -27,7 +27,7 @@ export default
if (!$rootScope.sessionTimer || ($rootScope.sessionTimer && !$rootScope.sessionTimer.isExpired())) {
// We have a valid session token, so attempt socket connection
// url = `${url}?session=${token}`;
url = `${url}?token=${token}`;
$log.debug('Socket connecting to: ' + url);
self.socket = new ReconnectingWebSocket(url, null, {