Skip to content

Commit

Permalink
[fix] cors 설정3
Browse files Browse the repository at this point in the history
  • Loading branch information
suhyeon7497 committed Nov 14, 2024
1 parent 562a7f1 commit a88cc45
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 a88cc45

Please sign in to comment.