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
All checks were successful
Release to Staging / build_and_release (push) Successful in 44s
Reviewed-on: #82
This commit is contained in:
commit
37e9618cf9
@ -56,7 +56,7 @@ export const isValidUrl = (url: string) => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
export const isValidImageUrl = (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)
|
return regex.test(url)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user