mirror of
https://github.com/ansible/awx.git
synced 2026-03-07 03:31:10 -03:30
Adding the token to the socket url
This commit is contained in:
@@ -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, {
|
||||
|
||||
Reference in New Issue
Block a user