mirror of
https://github.com/Ategon/Jamjar.git
synced 2025-02-12 06:16:21 +00:00
Adjust request to be https
This commit is contained in:
parent
2b3d1f08fa
commit
c204a54815
1 changed files with 1 additions and 1 deletions
|
@ -9,7 +9,7 @@ export default function Posts() {
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
const fetchPosts = async () => {
|
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());
|
setPosts(await response.json());
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue