diff options
-rw-r--r-- | model/file.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/model/file.go b/model/file.go index 6055cbc9a..85545d718 100644 --- a/model/file.go +++ b/model/file.go @@ -14,7 +14,7 @@ const ( var ( IMAGE_EXTENSIONS = [5]string{".jpg", ".jpeg", ".gif", ".bmp", ".png"} - IMAGE_MIME_TYPES = map[string]string{".jpg": "image/jpeg", ".jepg": "image/jpeg", ".gif": "image/gif", ".bmp": "image/bmp", ".png": "image/png", ".tiff": "image/tiff"} + IMAGE_MIME_TYPES = map[string]string{".jpg": "image/jpeg", ".jpeg": "image/jpeg", ".gif": "image/gif", ".bmp": "image/bmp", ".png": "image/png", ".tiff": "image/tiff"} ) type FileUploadResponse struct { |