Explorar o código

Adding configs to support uploading large files.

Lucas Albertins %!s(int64=2) %!d(string=hai) anos
pai
achega
bbf971d084
Modificáronse 1 ficheiros con 7 adicións e 1 borrados
  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