mirror of
https://github.com/rclone/rclone.git
synced 2025-12-06 00:03:32 +00:00
fichier: add cdn option to use CDN for download - Fixes #6943
This commit is contained in:
@@ -118,6 +118,9 @@ func (f *Fs) getDownloadToken(ctx context.Context, url string) (*GetTokenRespons
|
||||
Single: 1,
|
||||
Pass: f.opt.FilePassword,
|
||||
}
|
||||
if f.opt.CDN {
|
||||
request.CDN = 1
|
||||
}
|
||||
opts := rest.Opts{
|
||||
Method: "POST",
|
||||
Path: "/download/get_token.cgi",
|
||||
|
||||
Reference in New Issue
Block a user