fix: WebDAV 备份失败 maxBodyLength 限制 #243
This commit is contained in:
parent
cfb3eb7d90
commit
7c99621558
@ -12,7 +12,9 @@ export default class WebDav {
|
|||||||
|
|
||||||
this.instance = createClient(params.webdavHost, {
|
this.instance = createClient(params.webdavHost, {
|
||||||
username: params.webdavUser,
|
username: params.webdavUser,
|
||||||
password: params.webdavPass
|
password: params.webdavPass,
|
||||||
|
maxBodyLength: Infinity,
|
||||||
|
maxContentLength: Infinity
|
||||||
})
|
})
|
||||||
|
|
||||||
this.putFileContents = this.putFileContents.bind(this)
|
this.putFileContents = this.putFileContents.bind(this)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user