diff --git a/.env.sample b/.env.sample index daf5c94..70576b3 100644 --- a/.env.sample +++ b/.env.sample @@ -192,7 +192,7 @@ IDS4_ISSUER= # Kakao NEXT_PUBLIC_KAKAO_ENABLED= -KAOKAO_CUSTOM_NAME= +KAKAO_CUSTOM_NAME= KAKAO_CLIENT_ID= KAKAO_CLIENT_SECRET= diff --git a/pages/api/v1/logins/index.ts b/pages/api/v1/logins/index.ts index b5efab8..ff58bc2 100644 --- a/pages/api/v1/logins/index.ts +++ b/pages/api/v1/logins/index.ts @@ -111,7 +111,7 @@ export function getLogins() { } // Kakao if (process.env.NEXT_PUBLIC_KAKAO_ENABLED === 'true') { - buttonAuths.push({method: 'kakao', name: process.env.KAOKAO_CUSTOM_NAME ?? 'Kakao'}); + buttonAuths.push({method: 'kakao', name: process.env.KAKAO_CUSTOM_NAME ?? 'Kakao'}); } // Keycloak if (process.env.NEXT_PUBLIC_KEYCLOAK_ENABLED === 'true') { diff --git a/types/enviornment.d.ts b/types/enviornment.d.ts index 0cfbe51..d88f257 100644 --- a/types/enviornment.d.ts +++ b/types/enviornment.d.ts @@ -200,7 +200,7 @@ declare global { // Kakao NEXT_PUBLIC_KAKAO_ENABLED?: string; - KAOKAO_CUSTOM_NAME?: string; + KAKAO_CUSTOM_NAME?: string; KAKAO_CLIENT_ID?: string; KAKAO_CLIENT_SECRET?: string;