Skip to content

Commit

Permalink
hotfix: interceptor 내용 추가 (OPTIONS 메서드 관련)
Browse files Browse the repository at this point in the history
  • Loading branch information
linglong67 committed Mar 4, 2024
1 parent 89c459c commit 95ea3a0
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 95ea3a0

Please sign in to comment.