Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

4 digits slug via API? #26

Open
Root-FTW opened this issue Jul 18, 2024 · 1 comment
Open

4 digits slug via API? #26

Root-FTW opened this issue Jul 18, 2024 · 1 comment
Labels
question Further information is requested

Comments

@Root-FTW
Copy link

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?

@ccbikai
Copy link
Owner

ccbikai commented Jul 20, 2024

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

@ccbikai ccbikai added the question Further information is requested label Jul 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants