This commit is contained in:
quantulr
2023-11-07 17:14:42 +08:00
parent a8b1ad286d
commit 83e7cd3c4d
5 changed files with 35 additions and 21 deletions

View File

@ -79,13 +79,7 @@ const ArticleItem = ({ article }: { article: Article }) => {
className={"aspect-square"}
href={`/branch-life-sketch/${article.id}`}
>
<img
alt={""}
className={"h-full w-full"}
src={article.image
.replace("http://101.34.131.16:8084/api/uploads/", "")
.replace("http://localhost:8084/api/uploads/", "")}
/>
<img alt={""} className={"h-full w-full"} src={article.image} />
</Link>
<div className={"ml-1 w-0 flex-1"}>