From 50a853d2ba0a7844a5de141cbbf248e6f98f4ea8 Mon Sep 17 00:00:00 2001 From: neviyn Date: Mon, 10 May 2021 14:32:06 +0100 Subject: [PATCH] Increased max upload size --- src/main/resources/application.properties | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties index 577dfc8..4f2701a 100644 --- a/src/main/resources/application.properties +++ b/src/main/resources/application.properties @@ -2,4 +2,6 @@ spring.jpa.hibernate.ddl-auto=validate spring.datasource.initialization-mode=always spring.jpa.properties.hibernate.default_schema=booru spring.mvc.hiddenmethod.filter.enabled=true -images.types=jpg,png,gif \ No newline at end of file +images.types=jpg,png,gif +spring.servlet.multipart.max-file-size=20000000 +spring.servlet.multipart.max-request-size=20000000 \ No newline at end of file