Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
임채영 authored and 임채영 committed Aug 5, 2024
2 parents 8a31f27 + 10ee61f commit dbb3fda
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ public SecurityFilterChain securityFilterChain(HttpSecurity httpSecurity) throws
@Bean
public CorsConfigurationSource corsConfigurationSource() {
CorsConfiguration config = new CorsConfiguration();
config.setAllowedOrigins(Arrays.asList("http://mzconnect.site")); // frontend url
config.setAllowedOrigins(Arrays.asList("http://mzconnect.site", "http://localhost:3000")); // frontend url
config.setAllowedMethods(Arrays.asList("GET", "POST", "PUT", "DELETE", "OPTIONS"));
config.setAllowedHeaders(Collections.singletonList("*"));
config.setAllowCredentials(true);
Expand Down

0 comments on commit dbb3fda

Please sign in to comment.