diff options
| author | Pliable Pixels <pliablepixels@gmail.com> | 2020-07-04 17:26:25 -0400 |
|---|---|---|
| committer | Pliable Pixels <pliablepixels@gmail.com> | 2020-07-04 17:26:25 -0400 |
| commit | a3bbc9b29d951252e79927d4d31ccb5c0c3ba43d (patch) | |
| tree | 1f04aa763d8009fa4c4bc64e7d236f7f7fcb1c9a /www/js/FirstUseCtrl.js | |
| parent | f59bac9acc28a01955dfb2b558f7939e6f43f03e (diff) | |
change to SSLCertMode and update http plugin
Diffstat (limited to 'www/js/FirstUseCtrl.js')
| -rw-r--r-- | www/js/FirstUseCtrl.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/www/js/FirstUseCtrl.js b/www/js/FirstUseCtrl.js index c6f55ef4..04146855 100644 --- a/www/js/FirstUseCtrl.js +++ b/www/js/FirstUseCtrl.js @@ -18,7 +18,7 @@ angular.module('zmApp.controllers').controller('zmApp.FirstUseCtrl', ['$scope', // if (window.cordova) { - cordova.plugin.http.setSSLCertMode('nocheck', function () { + cordova.plugin.http.setServerTrustMode('nocheck', function () { NVR.debug('--> First use -> SSL is permissive, will allow any certs for now. You can change it later.'); }, function () { NVR.log('-->First Use -> Error setting SSL permissive'); |
