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 8e1bcc4
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 4 deletions.
4 changes: 4 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,10 @@ 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 8e1bcc4

Please sign in to comment.