update - 调整请求拦截器连接的 URL

This commit is contained in:
wangli 2024-02-18 17:08:14 +08:00
parent 4bfa5f712d
commit 883f34973c

View File

@ -47,7 +47,7 @@ public class RequestHeaderContextInterceptor implements HandlerInterceptor {
throw new WorkflowEngineException(CLIENT_VERSION_SUPPORT, serviceVersion);
}
}
if (!request.getRequestURI().contains("/web/") && !StringUtils.hasText(request.getHeader(HEADER_HTTP_CLIENT))) {
if (!request.getRequestURI().contains("/web/") && !request.getRequestURI().contains("checkDeath") && !StringUtils.hasText(request.getHeader(HEADER_HTTP_CLIENT))) {
throw new WorkflowEngineException(CLIENT_VERSION_SUPPORT, serviceVersion);
}
return true;