mirror of
https://github.com/ansible/awx.git
synced 2026-01-14 19:30:39 -03:30
Adding the token to the socket url
This commit is contained in:
parent
d84912bb2a
commit
6bd20c6433
@ -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, {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user