Skip to content

Commit

Permalink
HOTFIX: CORS 주소 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
hyxklee committed Nov 14, 2024
1 parent 8ed8414 commit 80f24e7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main/java/com/leets/X/global/config/SecurityConfig.java
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ public CorsConfigurationSource corsConfigurationSource() {
configuration.addAllowedOriginPattern("http://localhost:3000");
configuration.addAllowedOriginPattern("https://43.203.226.98.nip.io");
configuration.addAllowedOriginPattern("https://x-fe-a.vercel.app");
configuration.addAllowedOriginPattern("https://x-fe-a-git-feat-36-kimjiwons-projects.vercel.app");
configuration.addAllowedOriginPattern("http://127.0.0.1:5500"); // HTML Live Server CORS 설정
configuration.addAllowedMethod("*");
configuration.addAllowedHeader("*");
Expand All @@ -96,3 +97,4 @@ public CorsConfigurationSource corsConfigurationSource() {
return source;
}
}

0 comments on commit 80f24e7

Please sign in to comment.