diff --git a/app/(main)/article/[id]/page.tsx b/app/(main)/article/[id]/page.tsx index 9fe9a0e..d51046c 100644 --- a/app/(main)/article/[id]/page.tsx +++ b/app/(main)/article/[id]/page.tsx @@ -4,18 +4,19 @@ import { faArrowRight } from "@fortawesome/free-solid-svg-icons" import { FontAwesomeIcon } from "@fortawesome/react-fontawesome" import Image from "next/image" import Link from "next/link" - +const PICTURE_PREFIX = 'https://newuitab.oss-cn-hangzhou.aliyuncs.com/ai_upload/downloads/' export default async function Page({ params }: { params: Promise<{ id: string }> }) { const id = (await params).id const article = await getArticle(id) + if (!article) return <>> - return