I\'m developing application based on Spring Boot and AngularJS using JHipster. My question is how to set max size of uploading files?
If I\'m trying
There is some difference when we define the properties in the application.properties and application yaml.
In application.yml :
spring:
http:
multipart:
max-file-size: 256KB
max-request-size: 256KB
And in application.propeties :
spring.http.multipart.max-file-size=128KB
spring.http.multipart.max-request-size=128KB
Note : Spring version 4.3 and Spring boot 1.4