Skip to content

Commit 5b14ea7

Browse files
authored
fix: 시큐리티에서 /main 등 인증 없이 접근 허용(임시)
1 parent 7db9007 commit 5b14ea7

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/main/java/com/example/FixLog/config/SecurityConfig.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@ public SecurityFilterChain filterChain(HttpSecurity http) throws Exception {
3232
.requestMatchers(HttpMethod.GET, "/members/check-email").permitAll()
3333
.requestMatchers(HttpMethod.GET, "/members/check-nickname").permitAll()
3434
.requestMatchers(HttpMethod.GET, "/h2-console/**").permitAll()
35+
//배포 확인용 임시 수정
36+
.requestMatchers("/main", "/test", "/search").permitAll()
3537
.anyRequest().authenticated()
3638
)
3739
.headers(headers -> headers.frameOptions(frame -> frame.disable())) // H2 콘솔용

0 commit comments

Comments
 (0)