diff --git a/nginx/vue/src/components/home/Feed.vue b/nginx/vue/src/components/home/Feed.vue index b48d17b..0940276 100644 --- a/nginx/vue/src/components/home/Feed.vue +++ b/nginx/vue/src/components/home/Feed.vue @@ -51,7 +51,7 @@ function prevPost() { async function deletePost() { try { const res = await axios.delete( - `/api/post/${encodeURIComponent(post.value.ID)}`, + `/api/posts/${encodeURIComponent(post.value.ID)}`, ); console.log("Deleted:", res.data); fetchPosts();