Skip to content

Commit 17756a8

Browse files
authored
Merge pull request #252 from prgrms-web-devcourse-final-project/chore/33-infra
chore[infra]: actuator 경로 허용
2 parents 542bab6 + ceeef7b commit 17756a8

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

backend/src/main/java/com/ai/lawyer/global/security/SecurityConfig.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,9 @@ public class SecurityConfig {
5656
"/api/law/**", // 법령 (공개)
5757
"/api/law-word/**", // 법률 용어 (공개)
5858
"/api/chat/**", // 챗봇 (공개)
59-
"/h2-console/**" // H2 콘솔 (개발용)
59+
"/h2-console/**", // H2 콘솔 (개발용)
60+
"/actuator/health", "/actuator/health/**", "/actuator/info",
61+
"/api/actuator/health", "/api/actuator/health/**", "/api/actuator/info"
6062
};
6163

6264
// CORS 허용 메서드

0 commit comments

Comments
 (0)