From cd25929fc075106ce4cadab1c4b7027634c439de Mon Sep 17 00:00:00 2001 From: Harry Yang Date: Wed, 4 Jan 2023 11:22:29 +0800 Subject: [PATCH] =?UTF-8?q?freemarker=20=E9=81=87=E5=88=B0=E7=A9=BAmodel?= =?UTF-8?q?=E6=8A=A5=E9=94=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/resources/application.properties | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties index 0f1547f..fdeb541 100644 --- a/src/main/resources/application.properties +++ b/src/main/resources/application.properties @@ -28,6 +28,7 @@ spring.freemarker.expose-request-attributes=true spring.freemarker.expose-session-attributes=true spring.freemarker.allow-request-override=true spring.freemarker.allow-session-override=true +spring.freemarker.settings.template_exception_handler=ignore multipart.maxFileSize=20Mb multipart.maxRequestSize=20Mb