aboutsummaryrefslogtreecommitdiffstats
path: root/cps-application
diff options
context:
space:
mode:
authorniamhcore <niamh.core@est.tech>2021-04-07 11:35:19 +0100
committerniamhcore <niamh.core@est.tech>2021-04-07 14:14:24 +0100
commit49a609c8e2d359b62d1b27058e663c1dbf7344c6 (patch)
treeeac671d03aa1b04afea8debb37716b1e52bb8005 /cps-application
parentd138529fe66f39b17047091d7e54117845ba9b50 (diff)
Fix upload size to be greater than 1MB
Issue-ID: CPS-308 Signed-off-by: niamhcore <niamh.core@est.tech> Change-Id: I1de6efa882f85cf6f9054e3ef38ed6e0bd99d7be
Diffstat (limited to 'cps-application')
-rw-r--r--cps-application/src/main/resources/application.yml6
1 files changed, 6 insertions, 0 deletions
diff --git a/cps-application/src/main/resources/application.yml b/cps-application/src/main/resources/application.yml
index d9b9e7c38d..1bcb496a8a 100644
--- a/cps-application/src/main/resources/application.yml
+++ b/cps-application/src/main/resources/application.yml
@@ -51,6 +51,12 @@ spring:
change-log: classpath:changelog/changelog-master.yaml
labels: ${LIQUIBASE_LABELS}
+ servlet:
+ multipart:
+ enabled: true
+ max-file-size: 100MB
+ max-request-size: 100MB
+
security:
# comma-separated uri patterns which do not require authorization
permit-uri: /manage/health/**,/manage/info,/swagger-ui/**,/swagger-resources/**,/v3/api-docs