//package cn.sagacloud.server.algorithm.filter;
//
//import org.springframework.boot.web.servlet.FilterRegistrationBean;
//import org.springframework.context.annotation.Bean;
//import org.springframework.context.annotation.Configuration;
//
//@Configuration
//public class FilterConfig {
//    @Bean
//    public FilterRegistrationBean filterRegistrationBean(){
//        FilterRegistrationBean bean = new FilterRegistrationBean();
//        bean.setFilter(new UploadFilter());
//        bean.addUrlPatterns("/*");
//        return bean;
//    }
//}
