Bugfixes: Adresse-Modal + Upload-Limit auf 25 MB

1. AddressModal: Straße-Feld ließ sich nicht editieren. setFormData
   wurde im Render-Body aufgerufen, wenn formData.street !==
   address.street → Reset bei jedem Tastendruck. In useEffect mit
   [address?.id]-Dependency umgezogen.

2. Multer-Limit von 10 MB auf 25 MB in upload.routes.ts,
   gdpr.routes.ts, contract.routes.ts. Zwei Handy-Fotos zu PDF
   kratzten am alten Limit. FileUpload-Hinweistext angepasst.
This commit is contained in:
2026-06-03 16:37:09 +02:00
parent 5508d59652
commit 7c18343a95
6 changed files with 28 additions and 7 deletions
+1 -1
View File
@@ -28,7 +28,7 @@ const authUpload = multer({
cb(new Error('Nur PDF-Dateien sind erlaubt'));
}
},
limits: { fileSize: 10 * 1024 * 1024 },
limits: { fileSize: 25 * 1024 * 1024 },
});
// Alle Routen erfordern Authentifizierung