Skip to content

Commit

Permalink
Be/cors (#100)
Browse files Browse the repository at this point in the history
* chore: 주석 추가

* fix: 잘못된 값 수정

* fix

* fix
  • Loading branch information
zzawang authored May 31, 2024
1 parent dc1f947 commit 4dfafcd
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,17 +24,13 @@ public boolean preHandle(HttpServletRequest request, HttpServletResponse respons
while ((headerNames.hasNext())) {
String next = headerNames.next();
String header = request.getHeader(next);
log.info("header - {}", header);
log.info("{} header - {}", next, header);
}

log.info("bearer - {}", request.getHeader("Bearer"));
log.info("authorization - {}", authorization);
log.info("accessToken - {}", accessToken);

log.info("bearer - {}", request.getHeader("Bearer"));
log.info("authorization - {}", authorization);
log.info("accessToken - {}", accessToken);

if (accessToken == null) {
throw new UnauthorizedException();
}
Expand Down

0 comments on commit 4dfafcd

Please sign in to comment.