Skip to content

Commit

Permalink
Merge pull request #67 from Team-KeepGoing/hotfix
Browse files Browse the repository at this point in the history
Fix :: remove https redirect code
  • Loading branch information
miraexhoi authored Jul 8, 2024
2 parents 48cddcb + 528166c commit a29d2dc
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,7 @@ public SecurityFilterChain filterChain(HttpSecurity http) throws Exception {
.requestMatchers("device/**").permitAll()
.requestMatchers("/v3/api-docs/**", "/swagger-ui/**").permitAll()
.anyRequest().permitAll()
).cors((a)-> a.configurationSource(corsConfigurationSource()))
.requiresChannel(channel -> channel.anyRequest().requiresSecure()); // HTTPS로 리다이렉트
).cors((a)-> a.configurationSource(corsConfigurationSource()));

http.authenticationProvider(authenticationProvider());

Expand Down

0 comments on commit a29d2dc

Please sign in to comment.