applause-button
applause-button copied to clipboard
All URL is case-sensitive within the applause-button
IMHO, some part must not be taken as case-sensitve.
I just noticed this while playing around with #33.
I have reconfigured my blog setting to use lowercase for the hostname. (e.g. LazyRen.github.io/post-link -> lazyren.github.io/post-link)
But unfortunatelly, this erased all previously stored clap-count...
~/blog master
❯ curl 'https://api.applause-button.com/get-multiple' \
-H 'Content-Type: text/plain' --data-binary \
'["Applause-button.com/"]'
[]%
~/blog master
❯ curl 'https://api.applause-button.com/get-multiple' \
-H 'Content-Type: text/plain' --data-binary \
'["applause-button.com/"]'
[{"claps":42135,"sourceIp":"37.120.201.188","url":"applause-button.com/"}]%
That's a fair comment, and should be easy to remedy. The fix would need to be done over in applause-button-server.
@LazyRen Would you mind adding an issue over there? Feel free to link back to this one.