add max post size limit to spring
This commit is contained in:
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
|
||||
|
Reference in New Issue
Block a user