diff --git a/components/Comment.js b/components/Comment.js index 890a92d1..60f32537 100644 --- a/components/Comment.js +++ b/components/Comment.js @@ -40,20 +40,16 @@ const Comment = ({ frontMatter }) => {
+ {BLOG.COMMENT_VALINE_APP_ID && (
+ +
)} + {BLOG.COMMENT_GISCUS_REPO && (
)} - {BLOG.COMMENT_VALINE_APP_ID && (
- -
)} - - {BLOG.COMMENT_UTTERRANCES_REPO && (
- -
)} - {BLOG.COMMENT_CUSDIS_APP_ID && (
{ />
)} + {BLOG.COMMENT_UTTERRANCES_REPO && (
+ +
)} + {BLOG.COMMENT_GITALK_CLIENT_ID && (
{ - const { path } = props React.useEffect(() => { const valine = Valine({ el: '#vcomments', appId: BLOG.COMMENT_VALINE_APP_ID, appKey: BLOG.COMMENT_VALINE_APP_KEY, avatar: '', - path: path, - recordIP: false, + recordIP: true, placeholder: BLOG.COMMENT_VALINE_PLACEHOLDER, serverURLs: BLOG.COMMENT_VALINE_SERVER_URLS, visitor: true