Sink icon indicating copy to clipboard operation
Sink copied to clipboard

4 digits slug via API?

Open Root-FTW opened this issue 1 year ago • 1 comments

I have been using this project with my domain and it works perfect, it allows me to create shortened links and it's great, just one question, in cloudflare configure the slug to be 4 digits maximum, when using it via UI it works and generates the 4 digits slug, but via API is not like that, is there a way to specify via API that I want the slug to be 4 digits?

Root-FTW avatar Jul 18 '24 04:07 Root-FTW

You can directly pass a 4-digit slug when calling the API, and if it is duplicated, the creation will fail.

miantiao-me avatar Jul 20 '24 09:07 miantiao-me