Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
yakubin
· 4y ago · 0 comments
It would probably make sense to display
<subdomain>.srht.site
for submissions which match this domain pattern, similar to
github.io
sites.
Comments
[–]
chocolatesnake
4y ago
+1. This style of domain shortening should use
https://publicsuffix.org/
to determine how to trim subdomains. And lo,
https://publicsuffix.org/list/public_suffix_list.dat
contains "srht.site".