fix(crypt): wrong ContentLength

This commit is contained in:
j2rong4cn
2025-07-25 19:55:22 +08:00
parent 23bddf991e
commit 0ee31a3f36

View File

@@ -317,8 +317,7 @@ func (d *Crypt) Link(ctx context.Context, file model.Obj, args model.LinkArgs) (
}
return readSeeker, nil
}),
SyncClosers: utils.NewSyncClosers(remoteLink),
ContentLength: remoteSize,
SyncClosers: utils.NewSyncClosers(remoteLink),
}, nil
}