Skip to content

Commit

Permalink
feat: Add heic as image
Browse files Browse the repository at this point in the history
  • Loading branch information
ViBiOh authored May 17, 2023
1 parent 3eee0f5 commit 5849f49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/provider/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ var (
AudioExtensions = map[string]bool{".mp3": true}
CodeExtensions = map[string]bool{".html": true, ".css": true, ".js": true, ".jsx": true, ".json": true, ".yml": true, ".yaml": true, ".toml": true, ".md": true, ".go": true, ".py": true, ".java": true, ".xml": true}
ExcelExtensions = map[string]bool{".xls": true, ".xlsx": true, ".xlsm": true}
ImageExtensions = map[string]bool{".jpg": true, ".jpeg": true, ".png": true, ".gif": true, ".svg": true, ".tiff": true, ".webp": true}
ImageExtensions = map[string]bool{".jpg": true, ".jpeg": true, ".png": true, ".gif": true, ".svg": true, ".tiff": true, ".webp": true, ".heic": true}
PdfExtensions = map[string]bool{".pdf": true}
VideoExtensions = map[string]string{".mp4": "video/mp4", ".mov": "video/mp4", ".avi": "video/x-msvideo", ".ogg": "video/ogg", ".mkv": "video/x-matroska"}
StreamExtensions = map[string]bool{".ts": true}
Expand Down

0 comments on commit 5849f49

Please sign in to comment.