From 46f2ec45a330a87e4265f363f7a0f021ab239f06 Mon Sep 17 00:00:00 2001 From: Marcel Raddatz Date: Fri, 10 Apr 2026 09:09:14 +0200 Subject: [PATCH] feat(backend): limit multipart upload to 5 MB file / 6 MB request Co-Authored-By: Claude Sonnet 4.6 --- backend/src/main/resources/application.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/backend/src/main/resources/application.yml b/backend/src/main/resources/application.yml index 3e1d1f9..6104c5e 100644 --- a/backend/src/main/resources/application.yml +++ b/backend/src/main/resources/application.yml @@ -19,5 +19,10 @@ spring: enabled: true locations: classpath:db/migration + servlet: + multipart: + max-file-size: 5MB + max-request-size: 6MB + server: port: 8080