From 359067af0622e21920ca4190ffb59276d8c34a15 Mon Sep 17 00:00:00 2001 From: Lee Min Woo Date: Thu, 19 Jan 2023 16:49:01 +0900 Subject: [PATCH] =?UTF-8?q?#82=20-=20application.yaml:=20=EB=AF=BC?= =?UTF-8?q?=EA=B0=90=EC=A0=95=EB=B3=B4=EB=A5=BC=20=EB=B3=80=EC=88=98?= =?UTF-8?q?=EB=A1=9C=20=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 보안에 취약했던 부분을 외부에서 집어넣을 수 있게끔 변경 --- src/main/resources/application.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/resources/application.yaml b/src/main/resources/application.yaml index 5f9175d..1318ac8 100644 --- a/src/main/resources/application.yaml +++ b/src/main/resources/application.yaml @@ -9,9 +9,9 @@ logging: spring: datasource: - url: jdbc:postgresql://localhost:5432/board - username: lmw - password: 74147414l + url: ${LOCAL_DB_URL} + username: ${LOCAL_DB_USERNAME} + password: ${LOCAL_DB_PASSWORD} # url: jdbc:h2:mem:testdb # username: sa # driver-class-name: org.h2.Driver