客户端和服务端分离 api 目标,少点走公网
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2026-04-09 16:12:39 +08:00
parent 5e5f13a949
commit bb347dab3b
3 changed files with 7 additions and 5 deletions

View File

@ -14,7 +14,8 @@ let blogs: ListBlogItemType[] = []
try {
blogs = await listBlogs({ page, limit: 100 })
} catch {
} catch (e) {
console.error(e)
return Astro.redirect('/500')
}
---