feat(recipes): image upload, fix save 500, HelloFresh seed data #53
@@ -21,6 +21,10 @@ spring:
|
|||||||
|
|
||||||
servlet:
|
servlet:
|
||||||
multipart:
|
multipart:
|
||||||
|
# NOTE: these limits only apply to multipart/form-data uploads.
|
||||||
|
# Images sent as base64 inside a JSON body (Content-Type: application/json)
|
||||||
|
# are NOT constrained here — the @Size(max=7_000_000) annotation on
|
||||||
|
# RecipeCreateRequest.heroImageUrl enforces the limit for that path.
|
||||||
max-file-size: 5MB
|
max-file-size: 5MB
|
||||||
max-request-size: 6MB
|
max-request-size: 6MB
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user