Fix comment

This commit is contained in:
DefectingCat
2022-04-21 17:47:02 +08:00
parent 8d53e2d397
commit 71252ad8bd
2 changed files with 6 additions and 4 deletions

View File

@ -34,13 +34,15 @@ const PostComment: FC = () => {
{inView && (
<Giscus
repo="DefectingCat/DefectingCat.github.io"
repoId={process.env.NEXT_PUBLIC_GISCUS_REPO_ID ?? ''}
categoryId={process.env.NEXT_PUBLIC_GISCUS_CATEGORY_ID ?? ''}
repoId="MDEwOlJlcG9zaXRvcnkyMzk5MTUyNzk="
categoryId="DIC_kwDODkzRD84B_43T"
category="Announcements"
mapping="title"
mapping="pathname"
reactionsEnabled="1"
emitMetadata="0"
theme={currentTheme === 'dark' ? 'dark_dimmed' : 'light'}
loading="lazy"
inputPosition="top"
/>
)}
</div>

View File

@ -12,7 +12,7 @@ export default function Document() {
/>
<link
rel="preconnect"
href="https://YOUR_APP_ID-dsn.algolia.net"
href="https://ZUYZBUJBQW-dsn.algolia.net"
crossOrigin=""
/>
</Head>