mirror of
https://github.com/Luzifer/share.git
synced 2024-12-20 10:31:16 +00:00
Fix: Don't provide file template in content-type
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
9d323a1044
commit
081f2e22b7
1 changed files with 2 additions and 2 deletions
4
main.go
4
main.go
|
@ -21,8 +21,8 @@ var (
|
|||
BasePath string `flag:"base-path" default:"" description:"DEPRECATED: Path to upload the file to"`
|
||||
Bootstrap bool `flag:"bootstrap" default:"false" description:"Upload frontend files into bucket"`
|
||||
Bucket string `flag:"bucket" default:"" description:"S3 bucket to upload files to" validate:"nonzero"`
|
||||
ContentType string `flag:"content-type,c" vardefault:"file_template" description:"Force content-type to be set to this value"`
|
||||
FileTemplate string `flag:"file-template" default:"" description:"Full name template of the uploaded file"`
|
||||
ContentType string `flag:"content-type,c" default:"" description:"Force content-type to be set to this value"`
|
||||
FileTemplate string `flag:"file-template" vardefault:"file_template" description:"Full name template of the uploaded file"`
|
||||
Listen string `flag:"listen" default:"" description:"Enable HTTP server if set to IP/Port (e.g. ':3000')"`
|
||||
LogLevel string `flag:"log-level" default:"info" description:"Log level (debug, info, warn, error, fatal)"`
|
||||
Progress bool `flag:"progress" default:"false" description:"Show progress bar while uploading"`
|
||||
|
|
Loading…
Reference in a new issue