Browse Source

Adding configs to support uploading large files.

Lucas Albertins 2 years ago
parent
commit
bbf971d084
1 changed files with 7 additions and 1 deletions
  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