summaryrefslogtreecommitdiff
path: root/www/js/DataModel.js
diff options
context:
space:
mode:
authorPliable Pixels <pliablepixels@gmail.com>2017-02-11 15:03:34 -0500
committerPliable Pixels <pliablepixels@gmail.com>2017-02-11 15:03:34 -0500
commit9cf314cc8ca5f57148bfa8d503bc9698bfec9ac4 (patch)
tree895b290ad2fd7858a93a5d014032c321e037716e /www/js/DataModel.js
parentfe2504f6311c25689888e7d5b398087d55df99d8 (diff)
server logs and other tweaks
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();