From 13cca9025e7ab12afd5bfe0867672e345f6a4058 Mon Sep 17 00:00:00 2001 From: fyears <1142836+fyears@users.noreply.github.com> Date: Sat, 27 Jul 2024 12:30:17 +0800 Subject: [PATCH] hard code famous website --- src/fsWebdav.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/fsWebdav.ts b/src/fsWebdav.ts index 0ff1509..1cfd8e0 100644 --- a/src/fsWebdav.ts +++ b/src/fsWebdav.ts @@ -417,7 +417,9 @@ export class FakeFsWebdav extends FakeFs { this.webdavConfig.depth === "auto_unknown" || this.webdavConfig.depth === "auto_1" || this.webdavConfig.depth === "auto_infinity" /* don't trust auto now */ || - this.webdavConfig.depth === "manual_1" + this.webdavConfig.depth === "manual_1" || + this.webdavConfig.address.includes("jianguoyun.com") || + this.webdavConfig.address.includes("teracloud.jp") ) { // the remote doesn't support infinity propfind, // we need to do a bfs here