Skip to content

Commit

Permalink
increasing size for post requests
Browse files Browse the repository at this point in the history
from 6MB to 50MB
  • Loading branch information
FabiKo117 committed Oct 22, 2018
1 parent 4bd0855 commit f086380
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/resources/application.properties
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ server.compression.min-response-size=1400
server.compression.mime-types=application/json
# Swagger documentation URL
springfox.documentation.swagger.v2.path=/docs
# Setting max size for post requests to 6MB (default: 2MB)
server.tomcat.max-http-post-size=6291456
# Setting max size for post requests to 50MB (default: 2MB)
server.tomcat.max-http-post-size=52428800
# Enables custom definition of the port
server.port=${port:8080}

0 comments on commit f086380

Please sign in to comment.