hexo-leancloud-counter-security icon indicating copy to clipboard operation
hexo-leancloud-counter-security copied to clipboard

Fix incorrect url when deploy.

Open richex-cn opened this issue 5 years ago • 1 comments

I got incorrect url when I using hexo d. They inserted this format of URL in my LeanCloud Counter Class:

20201222_165510

And leancloud.memo:

20201222_165503

But the request URL like it, where QueryString has only one slash {"url":"/530.html"} cause not working:

https://example.com/1.1/classes/Counter?where=%7B%22url%22%3A%22%2F530.html%22%7D

I fixed this problem, if this change has no side effects, merge it.

richex-cn avatar Dec 22 '20 09:12 richex-cn

CLA assistant check
All committers have signed the CLA.

CLAassistant avatar Dec 22 '20 09:12 CLAassistant