mirror of
https://github.com/ansible/awx.git
synced 2026-03-21 10:57:36 -02:30
Merge pull request #1622 from benthomasson/network_ui_inventory_redirect
Fixes 301 redirects on topology websocket connection
This commit is contained in:
@@ -52,7 +52,7 @@ var NetworkUIController = function($scope,
|
|||||||
|
|
||||||
$scope.initial_messages = [];
|
$scope.initial_messages = [];
|
||||||
if (!$scope.disconnected) {
|
if (!$scope.disconnected) {
|
||||||
$scope.control_socket = new ReconnectingWebSocket(protocol + "://" + window.location.host + "/network_ui/topology?inventory_id=" + $scope.inventory_id,
|
$scope.control_socket = new ReconnectingWebSocket(protocol + "://" + window.location.host + "/network_ui/topology/?inventory_id=" + $scope.inventory_id,
|
||||||
null,
|
null,
|
||||||
{debug: false, reconnectInterval: 300});
|
{debug: false, reconnectInterval: 300});
|
||||||
if ($scope.tests_enabled) {
|
if ($scope.tests_enabled) {
|
||||||
|
|||||||
Reference in New Issue
Block a user