We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1717162 commit 2a95858Copy full SHA for 2a95858
1 file changed
src/main/java/com/example/FixLog/config/SecurityConfig.java
@@ -30,8 +30,7 @@ public SecurityFilterChain filterChain(HttpSecurity http) throws Exception {
30
.csrf(csrf -> csrf.disable())
31
.cors(Customizer.withDefaults()) // CORS 설정 추가 (WebConfig와 연결됨)
32
.authorizeHttpRequests(auth -> auth
33
- .requestMatchers(HttpMethod.POST, "/members/signup").permitAll()
34
- .requestMatchers(HttpMethod.POST, "/auth/login").permitAll()
+ .requestMatchers("/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