Skip to content

Commit

Permalink
Merge pull request #125 from yooonwodyd/weekly
Browse files Browse the repository at this point in the history
refactor:[#84]- refact Security
  • Loading branch information
yooonwodyd authored Nov 15, 2024
2 parents a82da11 + 1494da0 commit 57033bf
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,6 @@ public SecurityFilterChain filterChain(HttpSecurity http) throws Exception {
@Bean
public CorsConfigurationSource corsConfigurationSource() {
CorsConfiguration configuration = new CorsConfiguration();
http://1.618.s3-website.ap-northeast-2.amazonaws.com'
configuration.setAllowedOrigins(Arrays.asList("http://1.618.s3-website.ap-northeast-2.amazonaws.com","http://localhost:3000"));
configuration.setAllowedMethods(Arrays.asList("GET", "POST", "PUT", "DELETE", "OPTIONS"));
configuration.setAllowedHeaders(Arrays.asList("Authorization", "Content-Type", "X-Requested-With", "accept", "Origin", "Access-Control-Request-Method", "Access-Control-Request-Headers"));
Expand Down

0 comments on commit 57033bf

Please sign in to comment.