From 4932c36b1bcc1acd6e5b68a7874a25097647f9af Mon Sep 17 00:00:00 2001 From: Pliable Pixels Date: Wed, 15 Apr 2020 10:51:56 -0400 Subject: encode all non standard characters --- www/js/MenuController.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'www/js/MenuController.js') diff --git a/www/js/MenuController.js b/www/js/MenuController.js index 781fb21e..e7bf6c53 100644 --- a/www/js/MenuController.js +++ b/www/js/MenuController.js @@ -146,7 +146,7 @@ angular.module('zmApp.controllers').controller('MenuController', ['$scope', '$io //alert("Enabling insecure SSL"); NVR.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 () { NVR.debug('--> SSL is permissive, will allow any certs. Use at your own risk.'); }, function () { NVR.log('-->Error setting SSL permissive'); -- cgit v1.2.3