mirror of
https://github.com/halejohn/Cloudreve.git
synced 2026-01-26 09:34:57 +08:00
Feat: support chunk size option in policy
This commit is contained in:
@@ -184,6 +184,7 @@ func (fs *FileSystem) CreateUploadSession(ctx context.Context, path string, size
|
||||
Name: name,
|
||||
Size: size,
|
||||
SavePath: savePath,
|
||||
ChunkSize: fs.Policy.OptionsSerialized.ChunkSize,
|
||||
}
|
||||
|
||||
// 获取上传凭证
|
||||
|
||||
Reference in New Issue
Block a user