Skip to content

Commit

Permalink
Merge pull request #173 from kakao-tech-campus-2nd-step3/fix/#150-ref…
Browse files Browse the repository at this point in the history
…reshTokenCookie

[fix] cors 설정3
  • Loading branch information
suhyeon7497 authored Nov 14, 2024
2 parents 2554559 + a88cc45 commit d6aeccd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ public CorsFilter corsFilter() {
var source = new UrlBasedCorsConfigurationSource();
var config = new CorsConfiguration();
config.setAllowCredentials(true);
config.addAllowedOrigin("https://www.inplace.my");
config.addAllowedOriginPattern("https://www.inplace.my");
config.addAllowedOriginPattern("https://api.inplace.my");
config.addAllowedHeader("Origin");
config.addAllowedHeader("Accept");
Expand Down

0 comments on commit d6aeccd

Please sign in to comment.