feat: 调整api路径

This commit is contained in:
2026-07-31 00:38:57 +08:00
parent a91ee9ac55
commit 3100c1c1e9
5 changed files with 5 additions and 5 deletions

View File

@@ -6,7 +6,7 @@ import { createHttp } from "@/lib/request";
const http = createHttp(Astro.request.headers);
const { data: categories } =
await http.get<ApiResponse<CategoriesStats[]>>("category/stats");
await http.get<ApiResponse<CategoriesStats[]>>("categories/stats");
---
<aside class="sidebar">