Fix GitHub repo sync url
This commit is contained in:
parent
e9b81600c8
commit
5db5946590
@ -5,7 +5,7 @@ import {
|
||||
VERCEL_GIT_REPO_SLUG,
|
||||
VERCEL_GIT_COMMIT_SHA,
|
||||
} from '@/site/config';
|
||||
import { getGitHubMetaWithFallback } from '.';
|
||||
import { getGitHubMetaWithFallback, getGitHubRepoUrl } from '.';
|
||||
|
||||
export default async function GitHubForkStatusBadgeServer() {
|
||||
const owner = VERCEL_GIT_REPO_OWNER;
|
||||
@ -31,7 +31,7 @@ export default async function GitHubForkStatusBadgeServer() {
|
||||
{isBehind && <>
|
||||
{' '}
|
||||
<a
|
||||
href="https://github.com/sambecker/exif-photo-blog"
|
||||
href={getGitHubRepoUrl({ owner, repo })}
|
||||
target="_blank"
|
||||
className="underline hover:no-underline hover:text-main"
|
||||
>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user