mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-01-06 04:09:40 -06:00
add max size and max num to the archiver capabilities
This commit is contained in:
@@ -56,10 +56,12 @@ func Frontend(cfg *config.Config) *cli.Command {
|
||||
|
||||
archivers := []map[string]interface{}{
|
||||
{
|
||||
"enabled": true,
|
||||
"version": "2.0.0",
|
||||
"formats": []string{"tar", "zip"},
|
||||
"archiver_url": cfg.Reva.Archiver.ArchiverURL,
|
||||
"enabled": true,
|
||||
"version": "2.0.0",
|
||||
"formats": []string{"tar", "zip"},
|
||||
"archiver_url": cfg.Reva.Archiver.ArchiverURL,
|
||||
"max_num_files": cfg.Reva.Archiver.MaxNumFiles,
|
||||
"max_size": cfg.Reva.Archiver.MaxSize,
|
||||
},
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user