update
Some checks failed
deploy / deploy (push) Has been cancelled

This commit is contained in:
toom1996
2026-08-16 20:51:04 +08:00
parent 781242ede0
commit efd28d59e7
13 changed files with 512 additions and 782 deletions

View File

@ -186,7 +186,6 @@ export function loadArticlesWithImages(size = 40): Promise<ArticleCard[]> {
if (!API_BASE) return []
try {
const res = await fetch(`${API_BASE}/api/public/articles?page=1&size=${size}&with_images=5`)
console.log(res)
if (!res.ok) return []
const json: any = await res.json()
const items: RawArticle[] = json?.data ?? []