diff options
| author | pliablepixels <pliablepixels@gmail.com> | 2016-06-16 12:25:20 -0400 |
|---|---|---|
| committer | pliablepixels <pliablepixels@gmail.com> | 2016-06-16 12:25:20 -0400 |
| commit | f40be595159f1bb17ad9c839bd25a9fa48fd3f2e (patch) | |
| tree | 713a0e918c88e3c0d401d68f31ada3457ca432db /www/js | |
| parent | 6c5245d75bb0a650ff2621e91e8c21d0b7093806 (diff) | |
enable trusUnsecureCerts via plugin
Former-commit-id: 967d3a3953b1bf2d523eafb1a66064282319e52c
Diffstat (limited to 'www/js')
| -rw-r--r-- | www/js/app.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/www/js/app.js b/www/js/app.js index 1dd383f1..c187c28e 100644 --- a/www/js/app.js +++ b/www/js/app.js @@ -1048,6 +1048,9 @@ angular.module('zmApp', [ if (window.cordova) { $cordovaSplashscreen.hide(); + + ZMDataModel.zmLog ("Enabling insecure SSL"); + cordova.plugins.certificates.trustUnsecureCerts(true); cordova.getAppVersion(function (version) { appVersion = version; |
