Skip to content

Commit 7370502

Browse files
committed
chore: health check endpoint 인증 대상에서 제외
1 parent 34da23e commit 7370502

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/main/java/com/ajou/hertz/common/config/SecurityConfig.java

+2-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,8 @@ public class SecurityConfig {
3737

3838
private static final String[] AUTH_WHITE_PATHS = {
3939
"/swagger-ui/**",
40-
"/v3/api-docs/**"
40+
"/v3/api-docs/**",
41+
"/actuator/health"
4142
};
4243

4344
private static final Map<String, HttpMethod> AUTH_WHITE_LIST = new HashMap<>();

0 commit comments

Comments
 (0)