Skip to content

Commit

Permalink
Cors recovery (#93)
Browse files Browse the repository at this point in the history
* feat: cors 해결을 위한 OriginPattern 추가

* fix: OriginPattern 변경

* chore: 주석 추가

* feat: @EnableWebMvc 추가

* chore: 삭제 예정
  • Loading branch information
zzawang authored May 30, 2024
1 parent 1d3c964 commit 8b31523
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@ public boolean preHandle(HttpServletRequest request, HttpServletResponse respons
throws Exception {
String authorization = request.getHeader("Authorization");
String accessToken = jwtUtil.extractJwtToken(authorization);
String bearer = request.getHeader("Bearer");

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

if (accessToken == null) {
Expand Down

0 comments on commit 8b31523

Please sign in to comment.