Skip to content

Commit

Permalink
Merge pull request #26 from 7th-UMC-Hackathon-TeamV/feature/dev
Browse files Browse the repository at this point in the history
최종
  • Loading branch information
bikooju authored Jan 11, 2025
2 parents 0730e60 + f304da7 commit e141dbd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public SecurityFilterChain securityFilterChain(HttpSecurity http) throws Excepti
@Bean
public CorsConfigurationSource corsConfigurationSource() {
CorsConfiguration configuration = new CorsConfiguration();
configuration.setAllowedOrigins(Arrays.asList("https://on-air.netlify.app"));
configuration.setAllowedOrigins(Arrays.asList("https://on-air.netlify.app", "http://localhost:3000" ));
configuration.setAllowedMethods(Arrays.asList("GET", "POST", "PUT", "DELETE", "OPTIONS"));
configuration.setAllowedHeaders(Arrays.asList("*"));
configuration.setAllowCredentials(true);
Expand Down

0 comments on commit e141dbd

Please sign in to comment.