diff --git a/src/components/IndexSidebar.astro b/src/components/IndexSidebar.astro index 930411d..6479c7f 100644 --- a/src/components/IndexSidebar.astro +++ b/src/components/IndexSidebar.astro @@ -6,7 +6,7 @@ import { createHttp } from "@/lib/request"; const http = createHttp(Astro.request.headers); const { data: categories } = - await http.get>("category/stats"); + await http.get>("categories/stats"); ---