Don't point at localhost

pull/365/head
damacus 2017-11-30 12:37:00 +00:00
parent 569a53df27
commit 483ce15216
2 changed files with 5 additions and 5 deletions

Binary file not shown.

View File

@ -20,7 +20,7 @@
var frontEnd = 0; var frontEnd = 0;
var backEnd = 0; var backEnd = 0;
var devOps = 0; var devOps = 0;
$scope.progressLabels = ["Complete", "In progress", "To do"]; $scope.progressLabels = ["Complete", "In progress", "To do"];
$scope.progressData = [complete, inProgress, toDo]; $scope.progressData = [complete, inProgress, toDo];
@ -108,13 +108,13 @@
$http({ $http({
method: 'GET', method: 'GET',
url: 'http://localhost:3001/browserstack_php.php' + '?' + queryParams1.join('&') url: '/browserstack_php.php' + '?' + queryParams1.join('&')
}).then(function (data) { }).then(function (data) {
queryParams2.push('buildId=' + data.data.results[0].automation_build.hashed_id); queryParams2.push('buildId=' + data.data.results[0].automation_build.hashed_id);
$http({ $http({
method: 'GET', method: 'GET',
url: 'http://localhost:3001/browserstack_php.php' + '?' + queryParams2.join('&') url: '/browserstack_php.php' + '?' + queryParams2.join('&')
}).then(function (response) { }).then(function (response) {
$scope.behatResults = { $scope.behatResults = {
failed: 0, failed: 0,
@ -187,7 +187,7 @@
} else if (session.status === 'failed') { } else if (session.status === 'failed') {
$scope.behatResults.failed += 1; $scope.behatResults.failed += 1;
browserTestLog(session, 'failed') browserTestLog(session, 'failed')
} }
}); });
}); });
}); });
@ -199,4 +199,4 @@
getBrowserStackData(); getBrowserStackData();
} }
})(); })();