File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -71,8 +71,8 @@ spring.thymeleaf.cache=false
7171spring.thymeleaf.mode=HTML5
7272
7373# limit upload file size
74- spring.http .multipart.max-file-size=1024KB
75- spring.http .multipart.max-request-size=1024KB
74+ spring.servlet .multipart.max-file-size=1024KB
75+ spring.servlet .multipart.max-request-size=1024KB
7676```
7777
7878` spring.http.multipart.max-file-size ` and ` spring.http.multipart.max-request-size ` limit upload file never larger than 1MB.
Original file line number Diff line number Diff line change @@ -7,8 +7,8 @@ spring.thymeleaf.cache=false
77spring.thymeleaf.mode =HTML5
88
99# limit upload file size
10- spring.http .multipart.max-file-size =1024KB
11- spring.http .multipart.max-request-size =1024KB
10+ spring.servlet .multipart.max-file-size =1024KB
11+ spring.servlet .multipart.max-request-size =1024KB
1212
1313# independent MongoDB server
1414# spring.data.mongodb.uri=mongodb://localhost:27017/test
You can’t perform that action at this time.
0 commit comments