thedevs-network / kutt

Free Modern URL Shortener.

Home Page:https://kutt.it

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

.inc domains not supported - URL is invalid

asheroto opened this issue · comments

Hello!

I was trying to shorten a domain to an inc TLD domain but it says...

URL is invalid

image

You can view a list of TLDs here:
https://en.wikipedia.org/wiki/List_of_Internet_top-level_domains

If you tell me which file the validator resides in, I can probably adjust it and make a PR.

Looks like it is in server/handlers/validators.ts, but the logic for the validator seems to be fine. Not sure why exactly it is showing an error there.