[Request] Check URL before submit if exist
Hello, I have a user who keeps abusing the site by submitting a specific URL multiple times each day. How can I check the URL before submitting if it already exists or not, and simply showing an error message "URL has been submitted before. Check this URL: http://shorten.li/bHNv1P" ??
Thank you.
Thank you for your suggestion. This feature is on the plan, but I haven't finished it yet because I've been busy these days. I hope that I am able to complete the feature in late December, so stay tuned!
This feature has been added, but is turned off by default, as turning it on will increase kv quota consumption. If you need to use this feature, make sure to change config.unique_link=true in index.js.
https://github.com/xyTom/Url-Shorten-Worker/blob/779653193d066a7b1267c2288a46d36b171a1c9e/index.js#L5
This feature has been added, but is turned off by default, as turning it on will increase kv quota consumption. If you need to use this feature, make sure to change config.unique_link=true in index.js.
https://github.com/xyTom/Url-Shorten-Worker/blob/779653193d066a7b1267c2288a46d36b171a1c9e/index.js#L5
Hi, Thanks for you work I have a question, how can this feature increase KV quota consumption? I though It would lower the write consumtion