diff --git a/src/utils/url.ts b/src/utils/url.ts index bb9e5e6..3a46f13 100644 --- a/src/utils/url.ts +++ b/src/utils/url.ts @@ -56,7 +56,7 @@ export const isValidUrl = (url: string) => { } export const isValidImageUrl = (url: string) => { - const regex = /\.(jpeg|jpg|gif|png)$/ + const regex = /\.(jpeg|jpg|gif|png|ico|bmp|webp|avif|jxl)$/ return regex.test(url) }