package and build

This commit is contained in:
Trym Lund Flogard 2021-06-08 17:11:30 +02:00
parent 7d73f7e889
commit e1264cbb56
2 changed files with 3 additions and 2 deletions

3
dist/index.js vendored
View File

@ -486,7 +486,8 @@ class NextcloudClient {
this.headers = { Authorization: 'Basic ' + Buffer.from(`${this.username}:${this.password}`).toString('base64') }; 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}`, { this.davClient = webdav.createClient(`${this.endpoint.href}remote.php/dav/files/${this.username}`, {
username: this.username, username: this.username,
password: this.password password: this.password,
maxBodyLength: 1024 ** 3
}); });
} }
async uploadFiles(files) { async uploadFiles(files) {

2
dist/index.js.map vendored

File diff suppressed because one or more lines are too long