From 687f1de639c1290669631dbc9fe181cd82f0b20c Mon Sep 17 00:00:00 2001 From: ahah525 Date: Thu, 16 Mar 2023 00:28:01 +0900 Subject: [PATCH] =?UTF-8?q?#39=20feat:=20=EA=B0=9C=EB=B0=9C=EC=9A=A9=20yml?= =?UTF-8?q?(application-dev.yml)=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- playwithme/src/main/resources/application-dev.yml | 8 ++++++++ playwithme/src/main/resources/application.yml | 1 + 2 files changed, 9 insertions(+) create mode 100644 playwithme/src/main/resources/application-dev.yml diff --git a/playwithme/src/main/resources/application-dev.yml b/playwithme/src/main/resources/application-dev.yml new file mode 100644 index 0000000..9d41648 --- /dev/null +++ b/playwithme/src/main/resources/application-dev.yml @@ -0,0 +1,8 @@ +# 개발용 +oauth2: + kakao: + login: + redirect-uri: "http://localhost:8080/member/login/oauth/kakao/callback" + logout: + redirect-uri: "http://localhost:8080/member/logout/oauth/kakao" + diff --git a/playwithme/src/main/resources/application.yml b/playwithme/src/main/resources/application.yml index 40a3e25..c6d073d 100644 --- a/playwithme/src/main/resources/application.yml +++ b/playwithme/src/main/resources/application.yml @@ -3,6 +3,7 @@ spring: profiles: include: - secret # 중요 정보가 담긴 yml + active: dev # 기본 개발 모드 활성화 datasource: url: jdbc:mariadb://localhost:3306/playwithme?useUnicode=true&characterEncoding=utf8&serverTimeZone=Asia/Seoul&allowPublicKeyRetrieval=true&useSSL=false