Skip to content

Deploying: leancloud_counter_security_sync ERROR #24

@fomiuna

Description

@fomiuna

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions