Skip to content

Commit

Permalink
fix: close v1.0.1 无法重命名 #5
Browse files Browse the repository at this point in the history
  • Loading branch information
a1mersnow committed Jul 10, 2024
1 parent 1b1f5cc commit ae81731
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/providers/aliyun.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit ae81731

Please sign in to comment.