MystenLabs / walrus-sites

Walrus Sites: Decentralized Websites using Sui and Walrus.
https://docs.walrus.site/walrus-sites/intro.html
Apache License 2.0
11 stars 14 forks source link

Check the regex that matches subdomain and path #18

Closed giac-mysten closed 5 months ago

giac-mysten commented 5 months ago

Ensure that:

jpcsmith commented 5 months ago

This can make use of new URL(..) to do the splitting instead of a regex, and count the length of the resulting vector when splitting the domain.

Would need to find a way to handle urls ending in things like co.uk.