From c204a548156832ac973f8d7d5b445ef1bf726be5 Mon Sep 17 00:00:00 2001 From: Ategon <benjamin@barbeau.net> Date: Wed, 15 Jan 2025 16:42:56 -0500 Subject: [PATCH] Adjust request to be https --- src/components/posts/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()); };