Add global TUS capability + some config
Added global TUS capability in the config structure. Added config switches for the advertised max chunk size and http method override.
This commit is contained in:
@@ -143,6 +143,13 @@ func Frontend(cfg *config.Config) *cli.Command {
|
||||
"blacklisted_files": []string{},
|
||||
"undelete": true,
|
||||
"versioning": true,
|
||||
"tus_support": map[string]interface{}{
|
||||
"version": "1.0.0",
|
||||
"resumable": "1.0.0",
|
||||
"extension": "creation,creation-with-upload",
|
||||
"http_method_override": cfg.Reva.UploadHttpMethodOverride,
|
||||
"max_chunk_size": int(cfg.Reva.UploadMaxChunkSize),
|
||||
},
|
||||
},
|
||||
"dav": map[string]interface{}{},
|
||||
"files_sharing": map[string]interface{}{
|
||||
|
||||
Reference in New Issue
Block a user