Skip to content

Commit

Permalink
Merge pull request #32 from makchamakers/nyeongnyeong/home-last
Browse files Browse the repository at this point in the history
fix : 한눈에보기페이지_카카오맵 지도 api 에러 해결
  • Loading branch information
sunaerocket authored Oct 23, 2023
2 parents dea163b + 1694901 commit 936f2d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/route/summary/Map.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export default function Map() {
useEffect(() => {
const kakaoMapScript = document.createElement('script');
kakaoMapScript.async = false;
kakaoMapScript.src = `//dapi.kakao.com/v2/maps/sdk.js?appkey=700d399006256f95732f06b19c046ba5&autoload=false`;
kakaoMapScript.src = `//dapi.kakao.com/v2/maps/sdk.js?appkey=${process.env.NEXT_PUBLIC_KAKAO_MAP_API_KEY}&autoload=false`;
document.head.appendChild(kakaoMapScript);

const onLoadKakaoAPI = () => {
Expand Down

0 comments on commit 936f2d8

Please sign in to comment.