Skip to content

Commit f2e3729

Browse files
committed
fix: https error
1 parent 392a1c6 commit f2e3729

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/com/blockguard/server/global/config/SecurityConfig.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ public class SecurityConfig {
3434
@Bean
3535
public WebSecurityCustomizer webSecurityCustomizer() {
3636
return web -> web.ignoring()
37-
.requestMatchers("/h2-console/**","/error", "/favicon.ico");
37+
.requestMatchers("/h2-console/**", "/error", "/favicon.ico");
3838
}
3939

4040
@Bean
@@ -55,7 +55,7 @@ public SecurityFilterChain filterChain(HttpSecurity httpSecurity) throws Excepti
5555
registry
5656
.requestMatchers("/api/auth/**").permitAll() // 로그인/회원가입만 허용
5757
.requestMatchers("/actuator/health").permitAll() // 헬스체크 허용
58-
.requestMatchers("/").permitAll()
58+
.requestMatchers("/", "/index.html", "/favicon.ico").permitAll()
5959
.requestMatchers("/v3/api-docs/**", "/swagger-ui.html", "/swagger-ui/**", "/swagger-resources/**", "/webjars/**").permitAll()
6060
.anyRequest().authenticated()
6161
)

0 commit comments

Comments
 (0)