Skip to content

Commit

Permalink
fix: filterchain config / 삭제
Browse files Browse the repository at this point in the history
  • Loading branch information
eckrin committed Oct 7, 2023
1 parent 995cc5c commit a9038a8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public SecurityFilterChain filterChain(HttpSecurity http) throws Exception {
CorsConfigurationSource source = request -> {
// Cors 허용 패턴
CorsConfiguration config = new CorsConfiguration();
config.setAllowedOrigins(List.of("http://localhost:3000", "https://diamond-hackathon-kutisms.vercel.app/"));
config.setAllowedOrigins(List.of("http://localhost:3000", "https://diamond-hackathon-kutisms.vercel.app"));
config.setAllowedMethods(List.of("*"));
config.setAllowCredentials(true);

Expand Down

0 comments on commit a9038a8

Please sign in to comment.