aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--juick-server/src/main/java/com/juick/server/ApiServer.java1
-rw-r--r--juick-www/src/main/java/com/juick/www/Application.java1
2 files changed, 2 insertions, 0 deletions
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);
}