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

Allow to access sync server with full URL instead of origin only #382

Merged
merged 1 commit into from
Apr 28, 2024

Conversation

dahelb
Copy link
Contributor

@dahelb dahelb commented Apr 24, 2024

resolves #367.

I renamed "origin" to "url" in ServerConfig and the C-bindings. For the SyncServer, I decided to use "base_url" instead to make clear that it is used to build the final endpoint URLs by appending to it.

I changed the type in SyncServer to be Url and added the new method construct_endpoint_url to build the final URLs.

@dahelb dahelb marked this pull request as ready for review April 24, 2024 19:45
@dahelb dahelb requested a review from djmitche as a code owner April 24, 2024 19:45
Copy link
Collaborator

@djmitche djmitche left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great -- nice work!

Apologies for the delay in reviewing..

@djmitche djmitche merged commit 505a0b5 into GothenburgBitFactory:main Apr 28, 2024
12 checks 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.

Allow sync origins containing paths
2 participants