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

Enable working with API served on a sub-path #241

Merged
merged 1 commit into from
Oct 22, 2018
Merged

Conversation

renner
Copy link
Member

@renner renner commented Oct 18, 2018

This should fix #237 by removing leading slashes from API endpoints when calling uri.resolve(). The base URL now requires to have a trailing slash, so we add it in case it does not.

@danh-fissara, it would be great if you could give this a try so we know that it solves your problem. Thanks!

@renner renner merged commit d0d38fd into master Oct 22, 2018
@renner renner deleted the master-issue-237 branch October 22, 2018 12:35
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.

Doesn't work with API served on sub-path
2 participants