Skip to content

Commit 8d0ce37

Browse files
author
ihoneys
committed
docs: some
1 parent 8baaaa2 commit 8d0ce37

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/theme/BlogPostItem/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ function BlogPostItem(props) {
164164
</Head>
165165

166166
{/* 统计 */}
167-
{isBlogPostPage && <Count postId={postId} />}
167+
{/* {isBlogPostPage && <Count postId={postId} />} */}
168168
<div
169169
className={`row
170170
${!isBlogPostPage ? "blog-list--item" : ""}`}
@@ -268,7 +268,7 @@ function Count({ postId, ...post }) {
268268
// if (localStorage.getItem(postId)) return null;
269269

270270
const addViewCount = async () => {
271-
await fetch("https://api.zxuqian.cn/post/increase_view", {
271+
await fetch("xx", {
272272
method: "PUT",
273273
headers: {
274274
"Content-Type": "application/json",

0 commit comments

Comments
 (0)