add max post size limit to spring

This commit is contained in:
Lee 2024-04-23 19:15:13 +01:00
parent 5720125775
commit 4dcd0a18df

@ -3,6 +3,9 @@ server:
port: 3000
servlet:
context-path: /
tomcat:
# Limit the maximum POST size to 1MB
max-http-form-post-size: 1MB
# Spring Configuration
spring:
@ -10,7 +13,6 @@ spring:
jackson:
default-property-inclusion: non_null
data:
# MongoDB - This is used for general data storage
mongodb:
uri: mongodb://localhost:27017