More face fixes (#17630)

* update max upload to 20mb

* ensure cancel button doesn't submit form

* update nginx config
This commit is contained in:
Josh Hawkins
2025-04-10 07:17:13 -06:00
committed by GitHub
parent 049c5cfa9d
commit d8cde59aaf
3 changed files with 5 additions and 3 deletions
+1 -1
View File
@@ -25,7 +25,7 @@ type ImageEntryProps = {
export default function ImageEntry({
onSave,
children,
maxSize = 10 * 1024 * 1024, // 10MB default
maxSize = 20 * 1024 * 1024, // 20MB default
accept = { "image/*": [".jpeg", ".jpg", ".png", ".gif", ".webp"] },
}: ImageEntryProps) {
const { t } = useTranslation(["views/faceLibrary"]);