FIX: Uploads was not testing properly
This commit is contained in:
parent
808b5aa5ba
commit
bb2460fe66
|
@ -165,7 +165,7 @@ function isAuthorizedImage(fileName, staff, siteSettings) {
|
|||
return new RegExp(
|
||||
"\\.(" + imagesExtensions(staff, siteSettings).join("|") + ")$",
|
||||
"i"
|
||||
);
|
||||
).test(fileName);
|
||||
}
|
||||
|
||||
export function authorizedExtensions(staff, siteSettings) {
|
||||
|
|
Loading…
Reference in New Issue