mirror of
https://github.com/OpenListTeam/OpenList.git
synced 2025-11-26 03:45:06 +08:00
fix(crypt): wrong ContentLength
This commit is contained in:
@@ -317,8 +317,7 @@ func (d *Crypt) Link(ctx context.Context, file model.Obj, args model.LinkArgs) (
|
|||||||
}
|
}
|
||||||
return readSeeker, nil
|
return readSeeker, nil
|
||||||
}),
|
}),
|
||||||
SyncClosers: utils.NewSyncClosers(remoteLink),
|
SyncClosers: utils.NewSyncClosers(remoteLink),
|
||||||
ContentLength: remoteSize,
|
|
||||||
}, nil
|
}, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user