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

This commit is contained in:
toom1996
2026-08-26 19:42:10 +08:00
parent d64a046f82
commit eee2265e15
29 changed files with 337 additions and 2506 deletions

View File

@ -7,7 +7,7 @@ import { getSsrArticle } from "@/lib/api"
export const prerender = false
const id = Astro.url.searchParams.get("id")
const { article, error } = await getSsrArticle(id)
const { article, error } = await getSsrArticle(id, Astro.currentLocale)
---
<Layout>