fix content type for video
This commit is contained in:
parent
f8db798af6
commit
a2b1b1263b
|
@ -16,7 +16,7 @@ func (c Client) GetPresignedURL(ctx context.Context, bucket, object, fileType st
|
||||||
|
|
||||||
// params
|
// params
|
||||||
reqParams := make(url.Values)
|
reqParams := make(url.Values)
|
||||||
reqParams.Set("response-content-disposition", fmt.Sprintf("attachment; filename=\"%s\"", object))
|
//reqParams.Set("response-content-disposition", fmt.Sprintf("attachment; filename=\"%s\"", object))
|
||||||
|
|
||||||
// add content type for video
|
// add content type for video
|
||||||
if fileType == ListTypes.Video {
|
if fileType == ListTypes.Video {
|
||||||
|
|
Loading…
Reference in New Issue