diff --git a/src/components/posts/index.tsx b/src/components/posts/index.tsx index adb380a..ed845b3 100644 --- a/src/components/posts/index.tsx +++ b/src/components/posts/index.tsx @@ -9,7 +9,7 @@ export default function Posts() { useEffect(() => { const fetchPosts = async () => { - const response = await fetch("http://jam.edikoyo.com/api/v1/posts"); + const response = await fetch("https://jam.edikoyo.com/api/v1/posts"); setPosts(await response.json()); };