Skip to content

Commit

Permalink
chore: CORS 설정 배포 서버 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
GiHwan2 committed Nov 23, 2024
1 parent f4cafe8 commit 5a5e7ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/com/ivory/ivory/config/CorsConfig.java
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ public CorsFilter corsFilter() {
config.setAllowCredentials(true);
config.addAllowedOrigin("http://localhost:3000");
config.addAllowedOrigin("https://danpoong-ivory.vercel.app/");
config.addAllowedOrigin("https://danpoong-ivory.vercel.app/swagger-ui/index.html");
config.addAllowedOrigin("https://danpoong-ivory.vercel.app/swagger-ui/index.html#/");
config.addAllowedHeader("*");
config.addAllowedMethod("*"); // 모든 HTTP 메소드 허용

Expand Down

0 comments on commit 5a5e7ef

Please sign in to comment.