Hello! I was implementing the counter function in Hexo NexT with LeanCloud according to [1]https://leaferx.online/2018/03/16/lc-security-en/. But after deploying, the counting still didn't work (remained 0). Then I turned to check [2]https://github.com/theme-next/hexo-leancloud-counter-security#usage and found that there was an additional server_url attribute in leancloud_counter_security of site config which [1] did not have. So I used https://leancloud.cn as url but I got Unauthorized [401 POST] ERROR when deploying leancloud_counter_security_sync. Then I tried my blog url but got the undefined [405 POST] ERROR.
Could anyone offer some help? Thanks!
p.s. What's the relation between the server_url in leancloud_visitors in theme config and the server_url in leancloud_counter_security in site config?
Hello! I was implementing the counter function in Hexo NexT with LeanCloud according to [1]https://leaferx.online/2018/03/16/lc-security-en/. But after deploying, the counting still didn't work (remained 0). Then I turned to check [2]https://github.com/theme-next/hexo-leancloud-counter-security#usage and found that there was an additional
server_url
attribute inleancloud_counter_security
of site config which [1] did not have. So I used https://leancloud.cn as url but I gotUnauthorized [401 POST] ERROR
when deployingleancloud_counter_security_sync
. Then I tried my blog url but got theundefined [405 POST] ERROR
.Could anyone offer some help? Thanks!
p.s. What's the relation between the
server_url
inleancloud_visitors
in theme config and theserver_url
inleancloud_counter_security
in site config?