diff --git a/nginx/vue/src/components/home/Feed.vue b/nginx/vue/src/components/home/Feed.vue index f491f60..167f430 100644 --- a/nginx/vue/src/components/home/Feed.vue +++ b/nginx/vue/src/components/home/Feed.vue @@ -10,8 +10,8 @@ let len = 0; async function fetchPosts() { try { - const res = await axios.get("https://adam-french.co.uk/api/posts"); - posts.value = res.data; + const res = await axios.get("/api/posts"); + posts = res.data; fetched.value = true; post.value = posts[0]; len = posts.length;