feat(config): 设置文件上传最大尺寸
- 在 application.yml 中添加 servlet 配置 - 设置最大文件大小为 50MB - 设置最大请求大小为 50MB
This commit is contained in:
@@ -5,7 +5,10 @@ spring:
|
||||
active: dev
|
||||
config:
|
||||
import: classpath:codegen.yml
|
||||
|
||||
servlet:
|
||||
multipart:
|
||||
max-file-size: 50MB
|
||||
max-request-size: 50MB
|
||||
# 在 banner.txt 中显示项目版本,使用 @project.version@ 从 pom.xml 获取
|
||||
project:
|
||||
version: @project.version@
|
||||
|
||||
Reference in New Issue
Block a user