mirror of
https://github.com/Sebclem/hassio-nextcloud-backup.git
synced 2024-11-22 01:02:59 +01:00
🚑 Fix https issue
This commit is contained in:
parent
488e04c8b3
commit
beaa762e74
@ -25,7 +25,7 @@ class WebdavTools {
|
||||
return new Promise((resolve, reject) => {
|
||||
let status = statusTools.getStatus();
|
||||
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.password = password;
|
||||
try {
|
||||
|
Loading…
Reference in New Issue
Block a user