hexo-leancloud-counter-security
hexo-leancloud-counter-security copied to clipboard
A plugin to fix a serious security bug in leancloud visitor counter for NexT.
fix log
rt
```bash hexo_root/node_modules/hexo-leancloud-counter-security/index.js:73 this.log.info('leancloud.memo successfully updated.'); ^ TypeError: Cannot read property 'log' of undefined at postOperation (hexo_root/node_modules/hexo-leancloud-counter-security/index.js:73:10) at /www/page/hexo/node_modules/hexo-leancloud-counter-security/index.js:160:17 at processTicksAndRejections (node:internal/process/task_queues:94:5) ``` ``` ➜ hexo git:(master) ✗ node -v v15.8.0...
The log is as follows: ``` INFO Deploy done: git INFO Deploying: leancloud_counter_security_sync Enter your username: root Enter your password: ************* ERROR Error: connect ETIMEDOUT xxx.xxx.xxx.xxx:443 [N/A POST https://xxxx.api.lncldglobal.com/1.1/login] at...
issues #26
I got incorrect url when I using `hexo d`. They inserted this format of URL in my LeanCloud Counter Class:  And `leancloud.memo`:  But the request URL like it,...
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...
对 Hexo 和 Next 升级到最新版本后,进行部署时,hexo-leancloud-counter-security 插件会报错:  _config.yml 中插件相关的配置都没动。 现在的相关版本信息如下: ``` INFO Validating config hexo: 7.3.0 hexo-cli: 4.3.2 os: win32 10.0.26100 undefined node: 22.12.0 acorn: 8.14.0 ada: 2.9.2 amaro: 0.2.0...