From f5d6d34479da7ba45403539af7d31d8b9b5f10dd Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Fri, 16 Mar 2018 13:15:12 +0300 Subject: boot: setRegisterErrorPageFilter(false) --- juick-server/src/main/java/com/juick/server/ApiServer.java | 1 + juick-www/src/main/java/com/juick/www/Application.java | 1 + 2 files changed, 2 insertions(+) diff --git a/juick-server/src/main/java/com/juick/server/ApiServer.java b/juick-server/src/main/java/com/juick/server/ApiServer.java index bfd5e1ff..3133b1af 100644 --- a/juick-server/src/main/java/com/juick/server/ApiServer.java +++ b/juick-server/src/main/java/com/juick/server/ApiServer.java @@ -10,6 +10,7 @@ public class ApiServer extends SpringBootServletInitializer { @Override protected SpringApplicationBuilder configure(SpringApplicationBuilder builder) { + setRegisterErrorPageFilter(false); return builder.sources(ApiServer.class); } diff --git a/juick-www/src/main/java/com/juick/www/Application.java b/juick-www/src/main/java/com/juick/www/Application.java index ef41199a..b5a83f49 100644 --- a/juick-www/src/main/java/com/juick/www/Application.java +++ b/juick-www/src/main/java/com/juick/www/Application.java @@ -10,6 +10,7 @@ public class Application extends SpringBootServletInitializer { @Override protected SpringApplicationBuilder configure(SpringApplicationBuilder builder) { + setRegisterErrorPageFilter(false); return builder.sources(Application.class); } -- cgit v1.2.3