Hide Count Data When Both KV and API Enabled

Requirement

When both visit_count and load_kv are enabled, the result will be displayed as follows.

Comments also mentioned the hope to hide it.


Approach

When qryall assembles the returned data, skip data ending with '-count'.



========

End

Github: https://github.com/crazypeace/Url-Shorten-Worker

Demo: https://1way.eu.org/bodongshouqulveweifengci  You can view the visit count, but you cannot see the query result of -count

Comments