summaryrefslogtreecommitdiff
path: root/www/js/WizardCtrl.js
diff options
context:
space:
mode:
authorpliablepixels <pliablepixels@gmail.com>2016-05-03 20:20:19 -0400
committerpliablepixels <pliablepixels@gmail.com>2016-05-03 20:20:19 -0400
commit332fcc3602d3ddcceea7410926f889377b74addd (patch)
tree908cba7e159200f5a9b0c8aad86d9f67e8a5a81d /www/js/WizardCtrl.js
parentd3b6ce7d873fc3bc886fe67bfb9daada2cf9f844 (diff)
added another api search option #234
Former-commit-id: 0dce76a9473fd46fdc0ac3cac6a8bab71b1a8783
Diffstat (limited to 'www/js/WizardCtrl.js')
-rw-r--r--www/js/WizardCtrl.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/www/js/WizardCtrl.js b/www/js/WizardCtrl.js
index f8a40989..ee95bf39 100644
--- a/www/js/WizardCtrl.js
+++ b/www/js/WizardCtrl.js
@@ -41,7 +41,7 @@ angular.module('zmApp.controllers').controller('zmApp.WizardCtrl', ['$scope', '$
})
.success(function (data, status, headers) {
console.log("LOOKING FOR " + zm.loginScreenString);
- //console.log ("DATA RECEIVED " + JSON.stringify(data));
+ console.log ("DATA RECEIVED " + JSON.stringify(data));
if (data.indexOf(zm.loginScreenString) == -1) {
$scope.wizard.loginURL = $scope.wizard.fqportal;
@@ -241,6 +241,7 @@ angular.module('zmApp.controllers').controller('zmApp.WizardCtrl', ['$scope', '$
var u = $scope.wizard.loginURL;
var d = $q.defer();
var api1 = u+"/api" ;
+ var api3 = u+"/zm/api";
var c = URI.parse(u);
// lets also try without the path
@@ -253,7 +254,7 @@ angular.module('zmApp.controllers').controller('zmApp.WizardCtrl', ['$scope', '$
// lets try both /zm/api and /api. What else is there?
- var apilist = [api1, api2];
+ var apilist = [api1, api2, api3];
findFirstReachableUrl(apilist, '/host/getVersion.json')
.then (function (success) {