chore(git): merge pull request #82 from 76-screenshot-validation into staging
All checks were successful
Release to Staging / build_and_release (push) Successful in 44s

Reviewed-on: #82
This commit is contained in:
enes 2024-10-18 09:07:13 +00:00
commit 37e9618cf9

View File

@ -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)
}