summaryrefslogtreecommitdiff
path: root/www/js/NVR.js
diff options
context:
space:
mode:
authorPliable Pixels <pliablepixels@gmail.com>2020-07-04 17:26:25 -0400
committerPliable Pixels <pliablepixels@gmail.com>2020-07-04 17:26:25 -0400
commita3bbc9b29d951252e79927d4d31ccb5c0c3ba43d (patch)
tree1f04aa763d8009fa4c4bc64e7d236f7f7fcb1c9a /www/js/NVR.js
parentf59bac9acc28a01955dfb2b558f7939e6f43f03e (diff)
change to SSLCertMode and update http plugin
Diffstat (limited to 'www/js/NVR.js')
-rw-r--r--www/js/NVR.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/www/js/NVR.js b/www/js/NVR.js
index 80d3ddc4..65a18dbc 100644
--- a/www/js/NVR.js
+++ b/www/js/NVR.js
@@ -264,7 +264,7 @@ angular.module('zmApp.controllers')
//alert("Enabling insecure SSL");
log(">>>> Disabling strict SSL checking (turn off in Dev Options if you can't connect)");
- cordova.plugin.http.setSSLCertMode('nocheck', function () {
+ cordova.plugin.http.setServerTrustMode('nocheck', function () {
debug('--> SSL is permissive, will allow any certs. Use at your own risk.');
}, function () {
NVR.log('-->Error setting SSL permissive');