Skip to content

Commit

Permalink
feature(chore):786 added alternative port for internal access only.
Browse files Browse the repository at this point in the history
  • Loading branch information
ds-mwesener committed Jul 1, 2024
1 parent 082e558 commit 7627515
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ public void doFilter(final ServletRequest servletRequest, final ServletResponse
}

private boolean isRequestForTrustedEndpoint(final ServletRequest servletRequest) {
log.warn(((HttpServletRequestWrapper) servletRequest).getRequestURI());
return ((HttpServletRequestWrapper) servletRequest).getRequestURI()
.startsWith("/api/" + ApiConstants.API_PREFIX_INTERNAL);
}
Expand Down

0 comments on commit 7627515

Please sign in to comment.