update max content length

This commit is contained in:
Trym Lund Flogard 2021-06-08 17:10:34 +02:00
parent 81238124ba
commit 7d73f7e889

View File

@ -32,7 +32,8 @@ export class NextcloudClient {
this.headers = { Authorization: 'Basic ' + Buffer.from(`${this.username}:${this.password}`).toString('base64') }
this.davClient = webdav.createClient(`${this.endpoint.href}remote.php/dav/files/${this.username}`, {
username: this.username,
password: this.password
password: this.password,
maxBodyLength: 1024 ** 3
})
}