Skip to content

Commit

Permalink
Merge pull request #255 from linglong67/hotfix/modify-interceptor
Browse files Browse the repository at this point in the history
[hotfix] interceptor 내용 추가 (OPTIONS 메서드 관련)
  • Loading branch information
linglong67 committed Mar 4, 2024
2 parents 5dc866d + 95ea3a0 commit 9ad1ef7
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@ public class AcceptInterceptor implements HandlerInterceptor {

@Override
public boolean preHandle(HttpServletRequest request, HttpServletResponse response, Object handler) {
if (HttpMethod.OPTIONS.matches(request.getMethod())) {
return true;
}

if (validateTargetUri(request)) {
return true;
}
Expand Down

0 comments on commit 9ad1ef7

Please sign in to comment.