aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/com/juick/config/WebConfig.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/com/juick/config/WebConfig.java')
-rw-r--r--src/main/java/com/juick/config/WebConfig.java13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/main/java/com/juick/config/WebConfig.java b/src/main/java/com/juick/config/WebConfig.java
index c15f4c18..f2890bcd 100644
--- a/src/main/java/com/juick/config/WebConfig.java
+++ b/src/main/java/com/juick/config/WebConfig.java
@@ -222,17 +222,4 @@ public class WebConfig implements WebMvcConfigurer {
RequestRejectedHandler requestRejectedHandler() {
return new HttpStatusRequestRejectedHandler();
}
-
- @Bean
- ErrorPageFilter errorPageFilter() {
- return new ErrorPageFilter();
- }
-
- @Bean
- FilterRegistrationBean disableSpringBootErrorFilter(ErrorPageFilter filter) {
- FilterRegistrationBean filterRegistrationBean = new FilterRegistrationBean();
- filterRegistrationBean.setFilter(filter);
- filterRegistrationBean.setEnabled(false);
- return filterRegistrationBean;
- }
}