mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-03-09 15:40:18 +00:00
parent
7c22811fee
commit
f28dece698
1 changed files with 1 additions and 1 deletions
2
db.js
2
db.js
|
@ -3778,7 +3778,7 @@ module.exports.CreateDB = function (parent, func) {
|
|||
|
||||
async function webDAVBackup(filename, func) {
|
||||
try {
|
||||
const webDAV = require('webdav');
|
||||
const webDAV = await import ('webdav');
|
||||
const wdConfig = parent.config.settings.autobackup.webdav;
|
||||
const client = webDAV.createClient(wdConfig.url, {
|
||||
username: wdConfig.username,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue