We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2a95858 commit 040c404Copy full SHA for 040c404
1 file changed
src/main/java/com/example/FixLog/config/SecurityConfig.java
@@ -30,7 +30,8 @@ public SecurityFilterChain filterChain(HttpSecurity http) throws Exception {
30
.csrf(csrf -> csrf.disable())
31
.cors(Customizer.withDefaults()) // CORS 설정 추가 (WebConfig와 연결됨)
32
.authorizeHttpRequests(auth -> auth
33
- .requestMatchers("/auth/**").permitAll()
+ .requestMatchers(HttpMethod.GET, "/auth/**").permitAll()
34
+ .requestMatchers(HttpMethod.POST, "/auth/**").permitAll()
35
.requestMatchers(HttpMethod.GET, "/members/check-email").permitAll()
36
.requestMatchers(HttpMethod.GET, "/members/check-nickname").permitAll()
37
.requestMatchers(HttpMethod.GET, "/h2-console/**").permitAll()
0 commit comments