Skip to content

Commit

Permalink
🐛 fix: response header 수정
Browse files Browse the repository at this point in the history
와일드카드 제거
  • Loading branch information
dlrjs2360 committed Dec 26, 2023
1 parent 5fc63d2 commit 0e847d7
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions src/main/java/com/HowBaChu/howbachu/jwt/JwtFilter.java
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,6 @@ public void doFilterInternal(HttpServletRequest request, HttpServletResponse res
resolveTokenFromCookie(request, REFRESH_TOKEN_HEADER),
request, response);

response.setHeader("Access-Control-Allow-Origin", "*");

chain.doFilter(request, response);

}
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/application.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
spring:
profiles:
active: dev
active: prod
include:
- s3
- mail
Expand Down

0 comments on commit 0e847d7

Please sign in to comment.