This commit is contained in:
toom1996
2026-09-14 00:42:45 +08:00
parent d6cb616337
commit 548155625d
22 changed files with 707 additions and 454 deletions

View File

@ -2,7 +2,7 @@
import type { RawArticle } from "@/lib/api"
import { getI18n } from "@/i18n/utils"
import { href, ROUTES } from '@/lib/routes'
import { ssrBase } from "@/lib/api"
import { ssrBase } from "@/lib/request"
interface Props {
article: RawArticle | null
@ -585,7 +585,8 @@ const homeHref = href(locale, ROUTES.home)
</div>
<script>
import { getArticleDetailAuthed, toAbs } from "@/lib/api"
import { getArticleDetailAuthed } from "@/lib/api"
import { toAbs } from "@/lib/request"
import { getUser } from "@/lib/auth"
import { isFavorited, toggleImageFavorite } from "@/lib/favorites"