Skip to content

Commit f3cd6a2

Browse files
committed
Java:MultiDataSource 提高上传文件大小限制为 10M
1 parent b445fa4 commit f3cd6a2

File tree

1 file changed

+4
-0
lines changed
  • APIJSON-Java-Server/APIJSONBoot-MultiDataSource/src/main/resources

1 file changed

+4
-0
lines changed

APIJSON-Java-Server/APIJSONBoot-MultiDataSource/src/main/resources/application.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
spring:
2+
servlet:
3+
multipart:
4+
max-file-size: 10MB
5+
max-request-size: 10MB
26
# If using flyway-core dependency, either comment this out or use @FlywayDatasource in DemoDataSourceConfig
37
# flyway:
48
# url: ${spring.datasource.hikari.jdbc-url}

0 commit comments

Comments
 (0)