Skip to content

Commit

Permalink
fix: api endpoint
Browse files Browse the repository at this point in the history
Signed-off-by: Innei <i@innei.in>
  • Loading branch information
Innei committed Jul 3, 2023
1 parent b112b67 commit 72d1f52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/layout/header/internal/SiteOwnerAvatar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export const SiteOwnerAvatar: Component = ({ className }) => {
const { data: isLiving } = useQuery({
queryKey: ['live-check'],
queryFn: () =>
fetch('/api/bilibili/live_check')
fetch('/api/bilibili/check_live')
.then((res) => res.json())
.catch(() => null),
select: useCallback((data: any) => {
Expand Down

1 comment on commit 72d1f52

@vercel
Copy link

@vercel vercel bot commented on 72d1f52 Jul 3, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

shiro – ./

springtide.vercel.app
shiro-git-main-innei.vercel.app
shiro-innei.vercel.app
innei.in

Please sign in to comment.