Skip to content

Commit

Permalink
Merge pull request #84 from Draw-Draw/fix/#82-cors
Browse files Browse the repository at this point in the history
[FIX] Cors에 클라 배포 url 수정
  • Loading branch information
Chan531 authored May 3, 2024
2 parents 2743192 + 7a27332 commit 9722f98
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ private CorsConfiguration setCorsConfiguration() {
val config = new CorsConfiguration();
config.setAllowCredentials(true);
config.addAllowedOrigin("http://localhost:3000");
config.addAllowedOrigin("https://draw-draw-fe.vercel.app/");
config.addAllowedOrigin("https://draw-draw-fe.vercel.app");
config.addAllowedHeader("*");
config.setAllowedMethods(List.of("HEAD", "GET", "POST", "PUT", "DELETE", "PATCH", "OPTIONS"));
return config;
Expand Down

0 comments on commit 9722f98

Please sign in to comment.