bug处理

This commit is contained in:
truewhile
2026-09-09 00:18:04 +08:00
parent 8eb017fedc
commit ec5f81e6cb
7 changed files with 83 additions and 9 deletions
+1 -1
View File
@@ -73,7 +73,7 @@ func isLocalImagePath(raw string) bool {
}
ext := strings.ToLower(filepath.Ext(raw))
switch ext {
case ".jpg", ".jpeg", ".png", ".webp", ".gif", ".bmp", ".tbn":
case ".jpg", ".jpeg", ".png", ".webp", ".gif", ".bmp", ".tbn", ".img":
return true
default:
return false