Замена webdav-fs на webdav

This commit is contained in:
Book Pauk
2020-01-21 13:54:21 +07:00
parent 992d2033f3
commit 81629fab7a
4 changed files with 34 additions and 54 deletions

View File

@@ -31,7 +31,9 @@ class ReaderWorker {
this.remoteWebDavStorage = false;
if (config.remoteWebDavStorage) {
this.remoteWebDavStorage = new RemoteWebDavStorage(config.remoteWebDavStorage);
this.remoteWebDavStorage = new RemoteWebDavStorage(
Object.assign({maxContentLength: config.maxUploadFileSize}, config.remoteWebDavStorage)
);
}
this.periodicCleanDir(this.config.tempPublicDir, this.config.maxTempPublicDirSize, 60*60*1000);//1 раз в час