fix: svg uploads allowed when glob (#13356)

Builds on top of https://github.com/payloadcms/payload/pull/13276 and
allows images/* to also parse and accept svg files correctly.
This commit is contained in:
Jarrod Flesch
2025-08-04 23:47:37 -04:00
committed by GitHub
parent 3b9dba8641
commit 43b4b22af9
6 changed files with 64 additions and 1 deletions

View File

@@ -39,3 +39,4 @@ export const bulkUploadsSlug = 'bulk-uploads'
export const fileMimeTypeSlug = 'file-mime-type'
export const svgOnlySlug = 'svg-only'
export const anyImagesSlug = 'any-images'