diff --git a/.env.example b/.env.example index 717a4c76..ba3e1d11 100644 --- a/.env.example +++ b/.env.example @@ -1 +1,2 @@ BASE_URL= +KAKAO_KEY= diff --git a/src/components/Schedule/ScheduleTemplate/ScheduleTemplate.component.tsx b/src/components/Schedule/ScheduleTemplate/ScheduleTemplate.component.tsx index aec49d44..854804ea 100644 --- a/src/components/Schedule/ScheduleTemplate/ScheduleTemplate.component.tsx +++ b/src/components/Schedule/ScheduleTemplate/ScheduleTemplate.component.tsx @@ -53,7 +53,7 @@ const ScheduleTemplate = () => { method: 'GET', headers: { 'Content-Type': 'application/json', - Authorization: 'KakaoAK cc4af66dc10aa1a20830f3cc62c40a87', + Authorization: `KakaoAK ${process.env.KAKAO_KEY}`, }, }); const json = await res.json();