Skip to content

Commit

Permalink
fix: multipart max file size
Browse files Browse the repository at this point in the history
  • Loading branch information
Quentin-Guillemin committed May 15, 2024
1 parent e01f55b commit 92bf321
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/main/resources/config/application-dev.example.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,11 @@ spring:
activate:
on-profile: 'dev'

servlet:
multipart:
max-file-size: 10MB
max-request-size: 10MB

jpa:
show-sql: true

Expand Down
5 changes: 5 additions & 0 deletions src/main/resources/config/application-prod.example.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@ spring:
activate:
on-profile: 'prod'

servlet:
multipart:
max-file-size: 10MB
max-request-size: 10MB

datasource:
url: jdbc:mariadb://HOST:3306/DB_NAME?useUnicode=true&characterEncoding=UTF-8&autoreconnect=true&useLegacyDatetimeCode=false&serverTimezone=Europe/Paris
username:
Expand Down

0 comments on commit 92bf321

Please sign in to comment.