🚑 Fix https issue

This commit is contained in:
Sebastien 2020-06-14 21:06:37 +02:00
parent 488e04c8b3
commit beaa762e74

View File

@ -25,7 +25,7 @@ class WebdavTools {
return new Promise((resolve, reject) => { return new Promise((resolve, reject) => {
let status = statusTools.getStatus(); let status = statusTools.getStatus();
logger.info("Initilizing and checking webdav client..."); logger.info("Initilizing and checking webdav client...");
this.baseUrl = (ssl == true ? "https" : "http") + "://" + host + endpoint; this.baseUrl = (ssl === "true" ? "https" : "http") + "://" + host + endpoint;
this.username = username; this.username = username;
this.password = password; this.password = password;
try { try {