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

Removed leading slash from getAllNodes() api request #2124

Merged
merged 1 commit into from
Jan 13, 2017

Conversation

jpellizzari
Copy link
Contributor

@jpellizzari jpellizzari commented Jan 11, 2017

Fix for #2123

Removes a leading slash that was causing requests to api/topology/containers to return the index.html file instead of the JSON response.

@foot Could you review please? This feels like it should be fixed in the output from the back-end, but I'm worried that other stuff (including other services) might be relying on that extra slash being there.

@davkal
Copy link
Contributor

davkal commented Jan 13, 2017

For now API urls need to be relative when handled internally.

The backend still returns absolute paths in case someone wants to use Scope's API directly.

LGTM

@davkal davkal removed the request for review from foot January 13, 2017 13:11
@davkal davkal assigned jpellizzari and unassigned foot Jan 13, 2017
@jpellizzari jpellizzari merged commit bd32580 into master Jan 13, 2017
@jpellizzari jpellizzari deleted the 2123-search-errors branch January 13, 2017 16:27
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.

3 participants