diff --git a/src/components/modules/posts/TopThreePosts.tsx b/src/components/modules/posts/TopThreePosts.tsx index 2de12e9..a876690 100644 --- a/src/components/modules/posts/TopThreePosts.tsx +++ b/src/components/modules/posts/TopThreePosts.tsx @@ -9,7 +9,7 @@ const TopThreePosts = () => { let ignore = false; const getdata = async () => { - const dataReq = await fetch('http://localhost:3000/api/top-3-posts'); + const dataReq = await fetch('https://farhan-ten.vercel.app/api/top-3-posts'); const jsonData = await dataReq.json(); if (!ignore) { setData(jsonData.response);