update - 调整请求拦截器连接的 URL
This commit is contained in:
parent
4bfa5f712d
commit
883f34973c
@ -47,7 +47,7 @@ public class RequestHeaderContextInterceptor implements HandlerInterceptor {
|
|||||||
throw new WorkflowEngineException(CLIENT_VERSION_SUPPORT, serviceVersion);
|
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);
|
throw new WorkflowEngineException(CLIENT_VERSION_SUPPORT, serviceVersion);
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user