This commit is contained in:
Thomas authored and William Casarin committed 2022-12-23 12:09:06 -08:00
1 parent e6a5126494
commit db763d07fe
1 file changed
+1 -1
+1 -1
View File
@@ -16,7 +16,7 @@ func isHttpsUrl(_ string: String) -> Bool {
}
func isImage(_ urlString: String) -> Bool {
let imageTypes = ["image/jpg", "image/jpeg", "image/png", "image/gif", "image/tiff", "image/bmp"]
let imageTypes = ["image/jpg", "image/jpeg", "image/png", "image/gif", "image/tiff", "image/bmp", "image/webp"]
guard let url = URL(string: urlString) else {
return false