Skip to content

Commit

Permalink
🐛 add env for kakao redirect
Browse files Browse the repository at this point in the history
  • Loading branch information
w00khyung committed Dec 15, 2023
1 parent f70633d commit 85a2948
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .env.example
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
NEXT_PUBLIC_SERVER_URL=<NEXT_PUBLIC_SERVER_URL>
NEXT_PUBLIC_APP_ENV=<NEXT_PUBLIC_APP_ENV>
NEXT_PUBLIC_APP_ENV=<NEXT_PUBLIC_APP_ENV>

NEXT_PUBLIC_KAKAO_REDIRECT_URI=<KAKAO_REDIRECT_URI>
2 changes: 1 addition & 1 deletion app/_constants/kakao.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
export const KAKAO = {
// REST_API_KEY: '8cb6bb4a47d00e99bb5a038f9b6467fe',
REST_API_KEY: 'df0059498e461a8b0c76d9b4d537dbaa',
REDIRECT_URI: 'http://localhost:4000/oauth/callback/kakao',
REDIRECT_URI: process.env.NEXT_PUBLIC_KAKAO_REDIRECT_URI,
}

0 comments on commit 85a2948

Please sign in to comment.