Forráskód Böngészése

Adding configs to support uploading large files.

Lucas Albertins 2 éve
szülő
commit
bbf971d084
1 módosított fájl, 7 hozzáadás és 1 törlés
  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