pubky / pkarr

Public Key Addressable Resource Records (sovereign TLDs)
https://app.pkarr.org
MIT License
153 stars 17 forks source link

feat: allow path component in relay urls #55

Closed Frando closed 6 months ago

Frando commented 6 months ago

Currently, the relay URL is forced to have an empty path, because the z32 pubkey is set as the full path of the URL. This PR changes this so that the pubkey is appended to the base URL, allowing it to have a base path. This makes it straightforward to provide a pkarr relay on webserver that also has other routes.