Skip to content

Commit

Permalink
commit
Browse files Browse the repository at this point in the history
  • Loading branch information
罗孟伟 committed Mar 27, 2022
1 parent a1232b1 commit 175e6d7
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,10 @@ public static boolean isUrlHasGif(String url) {
* @return
*/
public static boolean isUrlHasImage(String url) {
return url.toLowerCase().endsWith(".jpg") || url.toLowerCase().endsWith(".jpeg")
|| url.toLowerCase().endsWith(".png");
return url.toLowerCase().endsWith(".jpg")
|| url.toLowerCase().endsWith(".jpeg")
|| url.toLowerCase().endsWith(".png")
|| url.toLowerCase().endsWith(".heic");
}

/**
Expand Down

0 comments on commit 175e6d7

Please sign in to comment.