|
@ -32,7 +32,7 @@ public class FilterConfig { |
|
|
* |
|
|
* |
|
|
* @return |
|
|
* @return |
|
|
*/ |
|
|
*/ |
|
|
@Bean |
|
|
//@Bean
|
|
|
public FilterRegistrationBean corsFilterRegistration() { |
|
|
public FilterRegistrationBean corsFilterRegistration() { |
|
|
FilterRegistrationBean registration = new FilterRegistrationBean(); |
|
|
FilterRegistrationBean registration = new FilterRegistrationBean(); |
|
|
registration.setDispatcherTypes(DispatcherType.REQUEST); |
|
|
registration.setDispatcherTypes(DispatcherType.REQUEST); |
|
|