Git Product home page Git Product logo

Comments (32)

LEAFERx avatar LEAFERx commented on June 14, 2024 1

@leeyeh @sli1989 因为valine和counter的冲突 我建议重构counter部分并且使用rest api

from hexo-leancloud-counter-security.

wuliuxiansheng avatar wuliuxiansheng commented on June 14, 2024 1

I got the reason. It should start with https rather than http. Sorry for the trouble. @LEAFERx

from hexo-leancloud-counter-security.

LEAFERx avatar LEAFERx commented on June 14, 2024

有根据文档一步一步地配置吗https://github.com/theme-next/hexo-theme-next/blob/master/docs/zh-CN/LEANCLOUD-COUNTER-SECURITY.md

from hexo-leancloud-counter-security.

RabbitYuDacsee avatar RabbitYuDacsee commented on June 14, 2024

@LEAFERx 就是一步一步来的。

from hexo-leancloud-counter-security.

CodeRabbitYu avatar CodeRabbitYu commented on June 14, 2024

@LEAFERx 就是按照步骤来的,而且除了我的博客,很多人的博客都不显示这个阅读人数了。。

from hexo-leancloud-counter-security.

LEAFERx avatar LEAFERx commented on June 14, 2024

可能是leancloud那边的api调整了 尝试关闭security试试?

from hexo-leancloud-counter-security.

LEAFERx avatar LEAFERx commented on June 14, 2024

因为我的博客是正常的所以我没法确定是哪里出了问题 需要更多的信息 或者你把你的博客地址给出来我看一下后台?

from hexo-leancloud-counter-security.

CodeRabbitYu avatar CodeRabbitYu commented on June 14, 2024

https://surpassrabbit.github.io/ @LEAFERx

from hexo-leancloud-counter-security.

LEAFERx avatar LEAFERx commented on June 14, 2024

@SurpassRabbit
wwnq dx852xpta6 lz 5 3d
h6gfb4140rqh cdq5n aq
我这边你的博客也一切正常啊

from hexo-leancloud-counter-security.

leeyeh avatar leeyeh commented on June 14, 2024

我注意到这个博客使用的主题中引用的 LeanCloud SDK 的版本是 0.6.4,这个版本中使用的是一个共享的 API 域名(api.leancloud.cn),这个域名在某些地区存在被 DNS 污染的问题因此不再推荐使用(这个问题在 SDK 的 3.0.0 版本中通过隔离每个应用的域名解决)。

事实上我看到这个主题的最新版本的 valine 插件已经将 SDK 更新到了 3.0.4。我试一下将 lean-analytics 也升级到新的版本。

from hexo-leancloud-counter-security.

sli1989 avatar sli1989 commented on June 14, 2024

@leeyeh There seems a conflict about the sdk version (reinitiating problem with two version, don't how to solve) when using internal leancoud_visitors and valine comment at the same time. So we maybe suggest users turn off the internal leancoud_visitors when using valine comment.

Update valine comment system version

from hexo-leancloud-counter-security.

leeyeh avatar leeyeh commented on June 14, 2024

I'll see what I can do.

from hexo-leancloud-counter-security.

CodeRabbitYu avatar CodeRabbitYu commented on June 14, 2024

@leeyeh @sli1989

我没有在博客中开启valine插件, 我在谷歌浏览器中打开博客还是没有显示阅读数。

image

from hexo-leancloud-counter-security.

sli1989 avatar sli1989 commented on June 14, 2024

@SurpassRabbit But it looks like leancloud server access has a problem.

from hexo-leancloud-counter-security.

CodeRabbitYu avatar CodeRabbitYu commented on June 14, 2024

@sli1989 please help me

from hexo-leancloud-counter-security.

sli1989 avatar sli1989 commented on June 14, 2024

@SurpassRabbit i mean it's the access problem of leancloud server. waiting for their announcement.

from hexo-leancloud-counter-security.

CodeRabbitYu avatar CodeRabbitYu commented on June 14, 2024

@sli1989 OK, thanks。 it occasionally available

from hexo-leancloud-counter-security.

CodeRabbitYu avatar CodeRabbitYu commented on June 14, 2024

@leeyeh 请问你是怎么升级 这个库的

from hexo-leancloud-counter-security.

leeyeh avatar leeyeh commented on June 14, 2024

因为一些用法上的 breaking changes,并不是简单升级版本号就可以。我稍后会发一个 pr,以及后续的一些想法。

from hexo-leancloud-counter-security.

CodeRabbitYu avatar CodeRabbitYu commented on June 14, 2024

@leeyeh 好的 谢谢

from hexo-leancloud-counter-security.

LEAFERx avatar LEAFERx commented on June 14, 2024

目前我已经完成lean-analystic.swig的重构 马上发起pr

from hexo-leancloud-counter-security.

LEAFERx avatar LEAFERx commented on June 14, 2024

theme-next/hexo-theme-next#381 已重构

from hexo-leancloud-counter-security.

LEAFERx avatar LEAFERx commented on June 14, 2024

@SurpassRabbit 请尝试使用最新的master构建博客 看看问题是否还存在
如果仍存在该问题 reopen this issue

from hexo-leancloud-counter-security.

wuliuxiansheng avatar wuliuxiansheng commented on June 14, 2024

I tried with the newest version but it is still not working. Is it working for you now @SurpassRabbit ?

from hexo-leancloud-counter-security.

LEAFERx avatar LEAFERx commented on June 14, 2024

@wuliuxiansheng try newest master branch please?

from hexo-leancloud-counter-security.

wuliuxiansheng avatar wuliuxiansheng commented on June 14, 2024

This is what I did but it is not working. @LEAFERx

from hexo-leancloud-counter-security.

Raincal avatar Raincal commented on June 14, 2024

2018-08-12 10 56 01 am
@wuliuxiansheng Did you set up the web security domain name?

from hexo-leancloud-counter-security.

wuliuxiansheng avatar wuliuxiansheng commented on June 14, 2024

Because my site is in a subdirectory, I set it to be http://www.seas.upenn.edu/~chaoliu/. I also tried http://www.seas.upenn.edu/ but it didn't work. @LEAFERx

from hexo-leancloud-counter-security.

wuliuxiansheng avatar wuliuxiansheng commented on June 14, 2024

I have another problem that the url of the object generating on LeanCloud is not starting with /~chaoliu/ and the number of viewer is always 0. How to configure this if the site is in a subdirectory? @LEAFERx

from hexo-leancloud-counter-security.

LEAFERx avatar LEAFERx commented on June 14, 2024

@wuliuxiansheng could you give me more detailed info about ur problem?(I'm not really understand what u r saying. I see counter of ur site works.
Url is not starting with /../ , I guess maybe it is because when generating files, hexo's API automatically remove subdirectory name u set in config. Then the plugin can only get the URL without subdirectory. That maybe a problem that need to be fixed.

from hexo-leancloud-counter-security.

LEAFERx avatar LEAFERx commented on June 14, 2024

@wuliuxiansheng but what do u mean by always 0?

from hexo-leancloud-counter-security.

wuliuxiansheng avatar wuliuxiansheng commented on June 14, 2024

The current posts are still linked to those old objects I generated before so the number of viewers are OK on both my site and LeanCloud. After I update next theme, it generated some new objects on LeanCloud and their url are not correct so the number of viewers are always 0 on LeanCloud. @LEAFERx

from hexo-leancloud-counter-security.

Related Issues (18)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.