Skip to content

Commit

Permalink
HOTFIX : cloudfront url 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
anxi01 committed Apr 14, 2024
1 parent bb5e8a9 commit 1865bed
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public SecurityFilterChain securityFilterChain(HttpSecurity http) throws Excepti
@Bean
CorsConfigurationSource corsConfigurationSource() {
CorsConfiguration config = new CorsConfiguration();
config.setAllowedOrigins(Arrays.asList("http://localhost:3000", "https://d1tengjnya43h9.cloudfront.net"));
config.setAllowedOrigins(Arrays.asList("http://localhost:3000", "https://d1tengjnya43h9.cloudfront.net/"));
config.setAllowedMethods(Arrays.asList("HEAD", "GET", "POST", "PUT", "DELETE", "PATCH", "OPTIONS"));
config.setAllowedHeaders(Arrays.asList("*"));
config.setAllowCredentials(true);
Expand Down

0 comments on commit 1865bed

Please sign in to comment.