We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8baaaa2 commit 8d0ce37Copy full SHA for 8d0ce37
src/theme/BlogPostItem/index.js
@@ -164,7 +164,7 @@ function BlogPostItem(props) {
164
</Head>
165
166
{/* 统计 */}
167
- {isBlogPostPage && <Count postId={postId} />}
+ {/* {isBlogPostPage && <Count postId={postId} />} */}
168
<div
169
className={`row
170
${!isBlogPostPage ? "blog-list--item" : ""}`}
@@ -268,7 +268,7 @@ function Count({ postId, ...post }) {
268
// if (localStorage.getItem(postId)) return null;
269
270
const addViewCount = async () => {
271
- await fetch("https://api.zxuqian.cn/post/increase_view", {
+ await fetch("xx", {
272
method: "PUT",
273
headers: {
274
"Content-Type": "application/json",
0 commit comments