update
This commit is contained in:
@ -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"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user