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

feat: allow path component in relay urls #55

Merged
merged 1 commit into from
Feb 23, 2024

Conversation

Frando
Copy link
Contributor

@Frando Frando commented Feb 22, 2024

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.

@Nuhvi Nuhvi merged commit 3af930b into pubky:main Feb 23, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants