Skip to content

Commit

Permalink
Api-docs no rbac
Browse files Browse the repository at this point in the history
Signed-off-by: jmasar <[email protected]>
  • Loading branch information
jmasar committed Jun 26, 2024
1 parent 54c1037 commit 4cbc30d
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,8 @@ public void doFilter(
HttpServletResponse response = (HttpServletResponse) servletResponse;

final String healthCheck = "health";
if (request.getRequestURI().contains(healthCheck)) {
final String apiDocs = "api-docs";
if (request.getRequestURI().contains(healthCheck) || request.getRequestURI().contains(apiDocs)) {
filterChain.doFilter(servletRequest, servletResponse);
return;
}
Expand Down

0 comments on commit 4cbc30d

Please sign in to comment.