Skip to content

Commit

Permalink
!HOTFIX: Update SecurityConfig.java
Browse files Browse the repository at this point in the history
크로스 오리진 주소에 /제거 (마지막 부분)
  • Loading branch information
singingsandhill authored Nov 19, 2024
1 parent 9a964fa commit 1e31ca3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ public CorsConfigurationSource corsConfigurationSource() {
UrlBasedCorsConfigurationSource source = new UrlBasedCorsConfigurationSource();
CorsConfiguration config = new CorsConfiguration();

config.setAllowedOrigins(List.of("http://localhost:5173", "http://localhost:8080","https://chapter-1.github.io/" ));
config.setAllowedOrigins(List.of("http://localhost:5173", "http://localhost:8080","https://chapter-1.github.io" ));
config.setAllowedMethods(List.of("GET", "POST", "PUT", "DELETE", "OPTIONS"));
config.setAllowedHeaders(List.of("Authorization", "Content-Type", "X-Requested-With", "Accept", "Origin"));
config.setExposedHeaders(List.of("Authorization"));
Expand Down

0 comments on commit 1e31ca3

Please sign in to comment.