From ae817317fb9cdb5be527116f37b454a8948a5d67 Mon Sep 17 00:00:00 2001 From: a1mer Date: Wed, 10 Jul 2024 18:44:14 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20close=20v1.0.1=20=E6=97=A0=E6=B3=95?= =?UTF-8?q?=E9=87=8D=E5=91=BD=E5=90=8D=20#5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/providers/aliyun.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/providers/aliyun.ts b/src/providers/aliyun.ts index e11478b..b2befc0 100644 --- a/src/providers/aliyun.ts +++ b/src/providers/aliyun.ts @@ -10,7 +10,7 @@ function getToken() { async function getDriveId() { const res = await post('https://user.aliyundrive.com/v2/user/get', {}) - return location.pathname.startsWith('/drive/file/resource') ? res.resource_drive_id : res.backup_drive_id + return location.pathname.startsWith('/drive/file/all/backup') ? res.backup_drive_id : res.resource_drive_id } const INITIAL_MARKER = 'INITIAL'