From 7b7298f24ad933c595016638d5a4ad7f6e79ece7 Mon Sep 17 00:00:00 2001 From: Vincent Boutour Date: Tue, 7 Nov 2023 11:16:24 +0100 Subject: [PATCH] feat: Adding dng extension as image Signed-off-by: Vincent Boutour --- pkg/provider/provider.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/provider/provider.go b/pkg/provider/provider.go index 0f734dc1..534af01b 100644 --- a/pkg/provider/provider.go +++ b/pkg/provider/provider.go @@ -17,7 +17,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, ".heic": true} + ImageExtensions = map[string]bool{".jpg": true, ".jpeg": true, ".png": true, ".gif": true, ".svg": true, ".tiff": true, ".webp": true, ".heic": true, ".dng": 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}