Skip to content

Commit

Permalink
fix jpg image
Browse files Browse the repository at this point in the history
  • Loading branch information
myussufz committed Jun 25, 2019
1 parent c288de0 commit 00b6eb4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions aliyun_content_type.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ var aliyunContentTypeMapper = map[string]func(filename string) []oss.Option{
ContentTypeCSV: aliyunContentTypeCSV,
ContentTypePNG: aliyunContentTypePNG,
ContentTypeJPEG: aliyunContentTypeJPEG,
ContentTypeJPG: aliyunContentTypeJPEG,
ContentTypePDF: aliyunContentTypePDF,
ContentTypeZip: aliyunContentTypeZip,
ContentTypeAPK: aliyunContentTypeApk,
Expand Down
1 change: 1 addition & 0 deletions constant.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ const (
ContentTypeCSV = "csv"
ContentTypePNG = "png"
ContentTypeJPEG = "jpeg"
ContentTypeJPG = "jpg"
ContentTypePDF = "pdf"
ContentTypeZip = "zip"
ContentTypeAPK = "vnd.android.package-archive"
Expand Down

0 comments on commit 00b6eb4

Please sign in to comment.