Merge branch '6.1.x'
This commit is contained in:
@@ -479,8 +479,8 @@ public abstract class AbstractHandlerMethodMapping<T> extends AbstractHandlerMap
|
||||
@Override
|
||||
protected boolean hasCorsConfigurationSource(Object handler) {
|
||||
return super.hasCorsConfigurationSource(handler) ||
|
||||
(handler instanceof HandlerMethod handerMethod &&
|
||||
this.mappingRegistry.getCorsConfiguration(handerMethod) != null);
|
||||
(handler instanceof HandlerMethod handlerMethod &&
|
||||
this.mappingRegistry.getCorsConfiguration(handlerMethod) != null);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user