From 7c89054f1638a5bf8419255435b0697a951d2bbc Mon Sep 17 00:00:00 2001 From: Marcos Lilljedahl Date: Thu, 10 Aug 2017 14:52:52 -0300 Subject: [PATCH] Direct URL will be always http until we get wildcard tls certs --- www/assets/app.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/www/assets/app.js b/www/assets/app.js index b9e3f41..4d921ca 100644 --- a/www/assets/app.js +++ b/www/assets/app.js @@ -240,7 +240,7 @@ $scope.idx[instance].swarmPorts = status.ports; } $scope.$apply(); - }); + }); $scope.socket = socket; @@ -263,7 +263,7 @@ } $scope.getProxyUrl = function(instance, port) { - var url = window.location.protocol + '//' + instance.proxy_host + '-' + port + '.direct.' + window.location.host; + var url = 'http://' + instance.proxy_host + '-' + port + '.direct.' + window.location.host; return url; }