fix(feijipan): incorrect address of download link (close #5859)
This commit is contained in:
parent
bb6747de4e
commit
292bbe94ee
@ -114,7 +114,7 @@ func (d *ILanZou) List(ctx context.Context, dir model.Obj, args model.ListArgs)
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (d *ILanZou) Link(ctx context.Context, file model.Obj, args model.LinkArgs) (*model.Link, error) {
|
func (d *ILanZou) Link(ctx context.Context, file model.Obj, args model.LinkArgs) (*model.Link, error) {
|
||||||
u, err := url.Parse("https://api.ilanzou.com/unproved/file/redirect")
|
u, err := url.Parse(d.conf.base + "/" + d.conf.unproved + "/file/redirect")
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user