summaryrefslogtreecommitdiff
path: root/www/js
diff options
context:
space:
mode:
Diffstat (limited to 'www/js')
-rw-r--r--www/js/NVR.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/www/js/NVR.js b/www/js/NVR.js
index fed774f4..a103b69a 100644
--- a/www/js/NVR.js
+++ b/www/js/NVR.js
@@ -207,7 +207,7 @@ angular.module('zmApp.controllers')
'refreshToken': '',
'isKiosk': false,
'kioskPassword': '',
- 'useHTTPCaching': true,
+ 'useAPICaching': true,
'pauseStreams': false,
};
@@ -362,7 +362,7 @@ angular.module('zmApp.controllers')
function cache_or_http(url,key,doCrypt, expiry) {
- if (!loginData.useHTTPCaching) {
+ if (!loginData.useAPICaching) {
debug ('CACHE: Not being used, as it is disabled');
return $http.get(url);
}
@@ -1586,8 +1586,8 @@ angular.module('zmApp.controllers')
loginData.isKiosk = false;
}
- if (typeof loginData.useHTTPCaching == 'undefined') {
- loginData.useHTTPCaching = true;
+ if (typeof loginData.useAPICaching == 'undefined') {
+ loginData.useAPICaching = true;
}