Skip to content

Commit

Permalink
Merge pull request #114 from Team-Tiki/hotfix/#113-swagger
Browse files Browse the repository at this point in the history
[HOTFIX] CorsConfig에 서버 도메인 추가
  • Loading branch information
Chan531 authored Jul 19, 2024
2 parents a566d19 + a1952e4 commit 1d0b71a
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ private CorsConfiguration setCorsConfiguration() {
config.setAllowCredentials(true);
config.addAllowedOrigin(("https://tiki-client.vercel.app"));
config.addAllowedOrigin("http://localhost:5173");
config.addAllowedOrigin("https://www.tiki-sopt.p-e.kr");
config.addAllowedHeader("*");
config.setAllowedMethods(List.of("HEAD", "GET", "POST", "PUT", "DELETE", "PATCH", "OPTIONS"));
return config;
Expand Down

0 comments on commit 1d0b71a

Please sign in to comment.