add max post size limit to spring
This commit is contained in:
parent
5720125775
commit
4dcd0a18df
@ -3,6 +3,9 @@ server:
|
|||||||
port: 3000
|
port: 3000
|
||||||
servlet:
|
servlet:
|
||||||
context-path: /
|
context-path: /
|
||||||
|
tomcat:
|
||||||
|
# Limit the maximum POST size to 1MB
|
||||||
|
max-http-form-post-size: 1MB
|
||||||
|
|
||||||
# Spring Configuration
|
# Spring Configuration
|
||||||
spring:
|
spring:
|
||||||
@ -10,7 +13,6 @@ spring:
|
|||||||
jackson:
|
jackson:
|
||||||
default-property-inclusion: non_null
|
default-property-inclusion: non_null
|
||||||
data:
|
data:
|
||||||
|
|
||||||
# MongoDB - This is used for general data storage
|
# MongoDB - This is used for general data storage
|
||||||
mongodb:
|
mongodb:
|
||||||
uri: mongodb://localhost:27017
|
uri: mongodb://localhost:27017
|
||||||
|
Reference in New Issue
Block a user