Skip to content

Commit

Permalink
fix: DEV, PROD, LOCAL 카카오 로그인 환경변수 분리
Browse files Browse the repository at this point in the history
  • Loading branch information
70825 committed Aug 16, 2023
1 parent 4cc056d commit 9abb39b
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 4 deletions.
6 changes: 6 additions & 0 deletions backend/src/main/resources/application-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,12 @@ spring:
image:
path: { DEV_IMAGE_PATH }



kakao:
rest-api-key: { DEV_REST_API_KEY }
redirect-uri: { DEV_REDIRECT_URI }

management:
endpoints:
enabled-by-default: false
Expand Down
4 changes: 4 additions & 0 deletions backend/src/main/resources/application-local.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,7 @@ logging:

image:
path:

kakao:
rest-api-key: { LOCAL_REST_API_KEY }
redirect-uri: { LOCAL_REDIRECT_URI }
4 changes: 4 additions & 0 deletions backend/src/main/resources/application-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@ spring:
image:
path: { PROD_IMAGE_PATH }

kakao:
rest-api-key: { PROD_REST_API_KEY }
redirect-uri: { PROD_REDIRECT_URI }

management:
endpoints:
enabled-by-default: false
Expand Down
4 changes: 0 additions & 4 deletions backend/src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,6 @@ springdoc:
enabled: true
tags-sorter: alpha

kakao:
rest-api-key: { REST_API_KEY }
redirect-uri: { REDIRECT_URI }

logging:
file:
path: { LOG_DIR }

0 comments on commit 9abb39b

Please sign in to comment.