Switch the ping view on the view repo page to always use HTTPS
This commit is contained in:
parent
61bde6bb90
commit
d1f6a815bd
1 changed files with 1 additions and 1 deletions
|
@ -5359,7 +5359,7 @@ quayApp.directive('locationView', function () {
|
||||||
};
|
};
|
||||||
|
|
||||||
$scope.getLocationPing = function(location) {
|
$scope.getLocationPing = function(location) {
|
||||||
var url = 'http://' + LOCATIONS[location]['data'] + '/okay.txt';
|
var url = 'https://' + LOCATIONS[location]['data'] + '/okay.txt';
|
||||||
PingService.pingUrl($scope, url, function(ping, success, count) {
|
PingService.pingUrl($scope, url, function(ping, success, count) {
|
||||||
if (count == 3 || !success) {
|
if (count == 3 || !success) {
|
||||||
$scope.locationPing = success ? ping : -1;
|
$scope.locationPing = success ? ping : -1;
|
||||||
|
|
Reference in a new issue