Update config docs for TUS and others (#251)
This commit is contained in:
@@ -162,21 +162,21 @@ func FrontendWithConfig(cfg *config.Config) []cli.Flag {
|
||||
&cli.BoolFlag{
|
||||
Name: "upload-disable-tus",
|
||||
Value: false,
|
||||
Usage: "Tells clients to not use TUS by disabling the capability (this doesn't disable the endpoints)",
|
||||
Usage: "Disables TUS upload mechanism",
|
||||
EnvVars: []string{"REVA_FRONTEND_UPLOAD_DISABLE_TUS"},
|
||||
Destination: &cfg.Reva.UploadDisableTus,
|
||||
},
|
||||
&cli.IntFlag{
|
||||
Name: "upload-max-chunk-size",
|
||||
Value: 0,
|
||||
Usage: "Max chunk size in bytes to advertise to clients through capabilities",
|
||||
Usage: "Max chunk size in bytes to advertise to clients through capabilities, or 0 for unlimited",
|
||||
EnvVars: []string{"REVA_FRONTEND_UPLOAD_MAX_CHUNK_SIZE"},
|
||||
Destination: &cfg.Reva.UploadMaxChunkSize,
|
||||
},
|
||||
&cli.StringFlag{
|
||||
Name: "upload-http-method-override",
|
||||
Value: "",
|
||||
Usage: "Specify an HTTP method (ex: POST) to use when uploading in case OPTIONS and PATCH are not available",
|
||||
Usage: "Specify an HTTP method (ex: POST) that clients should to use when uploading instead of PATCH",
|
||||
EnvVars: []string{"REVA_FRONTEND_UPLOAD_HTTP_METHOD_OVERRIDE"},
|
||||
Destination: &cfg.Reva.UploadHTTPMethodOverride,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user