Skip to content
This repository was archived by the owner on Mar 14, 2025. It is now read-only.

Commit 69ac8ec

Browse files
author
ZeroWolf233
committed
fix: 删点东西
1 parent 9607e1b commit 69ac8ec

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

src/storage/webdav.storage.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -63,13 +63,8 @@ export class WebdavStorage implements IStorage {
6363
await this.client.putFileContents(join(this.basePath, '.check'), Buffer.from(Date.now().toString()))
6464
return true
6565
} catch (e) {
66-
if (process.env.SKIP_SYNC){
67-
logger.info('跳过存储可用性检查')
68-
return true;
69-
}else{
7066
logger.error(e, '存储检查异常')
7167
return false
72-
}
7368
} finally {
7469
try {
7570
await this.client.deleteFile(join(this.basePath, '.check'))

0 commit comments

Comments
 (0)