mirror of
https://github.com/discourse/discourse.git
synced 2025-02-22 04:07:27 +00:00
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…
x
Reference in New Issue
Block a user