fix(medias): upload size limited by nginx to 1mb (#2813)

This commit is contained in:
Meier Lukas authored and GitHub committed 2025-04-06 21:33:47 +02:00
1 parent c960c6fc79
commit bf046a715c
2 files changed
+2

No files matched your search

+1
View File
@@ -26,6 +26,7 @@ export const mediaUploadSchema = zfd.formData({
}
if (value.size > 1024 * 1024 * 32) {
// Don't forget to update the limit in nginx.conf (client_max_body_size)
return context.addIssue({
code: "custom",
params: createCustomErrorParams({