diff options
| author | Pliable Pixels <pliablepixels@gmail.com> | 2020-04-06 07:26:29 -0400 |
|---|---|---|
| committer | Pliable Pixels <pliablepixels@gmail.com> | 2020-04-06 07:26:29 -0400 |
| commit | 3840535546c09d9500a74e623f794eafb2a2f332 (patch) | |
| tree | cfd023ddd3fae6972da6c9a8326853bfb97ccf93 /www/js | |
| parent | 5b3f2e9614a4765e25be0086a8367c0e01f47af7 (diff) | |
remove logging
Diffstat (limited to 'www/js')
| -rwxr-xr-x | www/js/app.js | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/www/js/app.js b/www/js/app.js index 83937aff..f252ca5b 100755 --- a/www/js/app.js +++ b/www/js/app.js @@ -2096,7 +2096,8 @@ angular.module('zmApp', [ if (arguments[0].timeout) options.timeout = arguments[0].timeout; // console.log ("**** -->"+method+"<-- using native HTTP with:"+encodeURI(url)+" payload:"+JSON.stringify(options)); - + // nvr.debug ("cordova: got url "+url); + // nvr.debug ("cordova: url after encode "+encodeURI(url)); cordova.plugin.http.sendRequest(encodeURI(url), options, function (succ) { // automatic JSON parse if no responseType: text @@ -2154,6 +2155,8 @@ angular.module('zmApp', [ //console.log ("I GOT: "+ JSON.stringify(succ)); url = url.replace(/&token=([^&]*)/, nvr.authSession); options.skipIntercept = true; + // nvr.debug ("cordova: intercept got url "+url); + //nvr.debug ("cordova: intercept url after encode "+encodeURI(url)); cordova.plugin.http.sendRequest(encodeURI(url), options, function (succ) { d.resolve(succ); |
