浏览代码

Adding configs to support uploading large files.

Lucas Albertins 2 年之前
父节点
当前提交
bbf971d084
共有 1 个文件被更改,包括 7 次插入1 次删除
  1. 7 1
      src/main/resources/application.properties

+ 7 - 1
src/main/resources/application.properties

@@ -2,4 +2,10 @@ server.port=8081
 base_url=http://localhost:8081/
 spring.application.name=wee
 endpoint=http://localhost:3030/SystemDesignOntology2Layers
-storageURL=http://localhost:5000
+storageURL=http://localhost:5000
+# Max file size.
+spring.servlet.multipart.max-file-size=500MB
+# Max request size.
+spring.servlet.multipart.max-request-size=500MB
+
+server.tomcat.max-http-post-size=629145600000