Skip to content

Commit

Permalink
[feat] #65 배포 링크 cors추가
Browse files Browse the repository at this point in the history
  • Loading branch information
OJOJIN committed Jan 25, 2024
1 parent ba98181 commit d011581
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ public CorsFilter corsFilter() {
config.setAllowCredentials(true);
config.addAllowedOrigin("http://localhost:3000");
config.addAllowedOrigin("https://jxy.me"); //stomp 테스트를 위한 사이트 cors 등록
config.addAllowedOrigin("https://check-mate-rho.vercel.app"); //stomp 테스트를 위한 사이트 cors 등록
config.addAllowedHeader("*");
config.setAllowedMethods(Arrays.asList("HEAD", "GET", "POST", "PUT", "DELETE", "PATCH", "OPTIONS"));
source.registerCorsConfiguration("/**", config);
Expand Down

0 comments on commit d011581

Please sign in to comment.