summaryrefslogtreecommitdiff
path: root/www/js/DataModel.js
diff options
context:
space:
mode:
Diffstat (limited to 'www/js/DataModel.js')
-rwxr-xr-xwww/js/DataModel.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/www/js/DataModel.js b/www/js/DataModel.js
index 558e116a..28372d56 100755
--- a/www/js/DataModel.js
+++ b/www/js/DataModel.js
@@ -559,7 +559,7 @@ angular.module('zmApp.controllers')
{
//console.log ("************* AUGH");
- return $http.get(urls[0].url).then(function()
+ return $http({method:'GET', timeout:5000, url:urls[0].url}).then(function()
{
log("Success: reachability on " + urls[0].url);
$ionicLoading.hide();