File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 1313@ EnableCaching
1414@ EnableAsync
1515public class BackApplication {
16-
1716 @ Value ("${GOOGLE_APPLICATION_CREDENTIALS}" )
1817 private String googleCredentialsPath ;
1918
@@ -23,8 +22,7 @@ public static void main(String[] args) {
2322
2423 @ PostConstruct
2524 public void setGoogleCredentialsEnv () {
26- // 구글 SDK가 인식할 수 있도록 시스템 속성에 넣어줌
25+ // Google SDK가 사용할 수 있도록 환경변수 세팅
2726 System .setProperty ("GOOGLE_APPLICATION_CREDENTIALS" , googleCredentialsPath );
2827 }
29-
3028}
Original file line number Diff line number Diff line change @@ -105,6 +105,8 @@ management:
105105 enabled : true # /actuator/health/{liveness,readiness} 활성화
106106 show-details : never # 프로브 용도면 never 권장(민감정보 차단)
107107 custom :
108+ google :
109+ credentials : ${GOOGLE_APPLICATION_CREDENTIALS}
108110 dev :
109111 cookieDomain : localhost
110112 frontUrl : http://${custom.dev.cookieDomain}:3000
You can’t perform that action at this time.
0 commit comments