Skip to content

Commit

Permalink
modifying max size for post requests
Browse files Browse the repository at this point in the history
setting max-size to 6MB (before: 2MB)
  • Loading branch information
kowatsch committed Aug 21, 2018
1 parent 982def7 commit ce93760
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/main/resources/application.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,6 @@ server.compression.enabled=true
server.compression.min-response-size=1400
server.compression.mime-types=application/json
# Swagger documentation URL
springfox.documentation.swagger.v2.path=/docs
springfox.documentation.swagger.v2.path=/docs
# Setting max size for post requests to 6MB (default: 2MB)
server.tomcat.max-http-post-size=6291456

0 comments on commit ce93760

Please sign in to comment.