Skip to content

Commit

Permalink
Update vfs.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
ykxVK8yL5L authored Apr 19, 2022
1 parent e9d5919 commit 797cb3e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vfs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ impl WebdavDriveFileSystem {



let mut rurl = format!("https://cors.z13.workers.dev/https://api-drive.mypikpak.com/drive/v1/files?parent_id={}&thumbnail_size=SIZE_LARGE&with_audit=true&page_token={}&limit=0&filters={{\"phase\":{{\"eq\":\"PHASE_TYPE_COMPLETE\"}},\"trashed\":{{\"eq\":false}}}}",&parent_file_id,pagetoken);
let mut rurl = format!("https://api-drive.mypikpak.com/drive/v1/files?parent_id={}&thumbnail_size=SIZE_LARGE&with_audit=true&page_token={}&limit=0&filters={{\"phase\":{{\"eq\":\"PHASE_TYPE_COMPLETE\"}},\"trashed\":{{\"eq\":false}}}}",&parent_file_id,pagetoken);
if self.proxy_url.len()>4{
rurl = format!("{}/https://api-drive.mypikpak.com/drive/v1/files?parent_id={}&thumbnail_size=SIZE_LARGE&with_audit=true&page_token={}&limit=0&filters={{\"phase\":{{\"eq\":\"PHASE_TYPE_COMPLETE\"}},\"trashed\":{{\"eq\":false}}}}",&self.proxy_url,&parent_file_id,pagetoken);
}
Expand Down

0 comments on commit 797cb3e

Please sign in to comment.