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

Fix paginated json uri #153

Closed

Conversation

philrhinehart
Copy link

When accessing the kong admin through a proxy, the next field in the json response includes a uri referencing localhost:8001, or wherever kong is running, rather than the uri used to access kong.

This PR fixes #118 and modifies the next uri to use the original uri, with the addition of the hash, search and query params from the next url. This allows accessing the kong admin at a different host and/or path.

This is a slightly modified version of @CyExy's #123

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

kongfig apply command uses default localhost instead of host parameter value
1 participant