Skip to content

Commit

Permalink
feat: 모바일 앱 allowed origin 설정 (#76) (KAN-131)
Browse files Browse the repository at this point in the history
  • Loading branch information
ywonchae1 committed Nov 5, 2024
1 parent a3c4963 commit 4b72275
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ public SecurityFilterChain filterChain(HttpSecurity http) throws Exception {
@Bean
public CorsConfigurationSource corsConfigurationSource() {
CorsConfiguration configuration = new CorsConfiguration();
configuration.setAllowedOrigins(List.of("http://localhost:3000"));
configuration.addAllowedOriginPattern("*");
configuration.addAllowedMethod("*");
configuration.addAllowedHeader("*");
configuration.addExposedHeader("Authorization");
Expand Down

0 comments on commit 4b72275

Please sign in to comment.