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

Full URLs to pages are incorrect when API is published on API gateway #26

Open
WannesDigipolis opened this issue Jan 3, 2019 · 0 comments

Comments

@WannesDigipolis
Copy link

When an API is published on the API gateway, the "href" values to "prev", "next", "first" and "last" pages in "_links" are incorrect.

Origin of error: usage of HttpContext in:
https://github.com/digipolisantwerp/web_aspnetcore/blob/master/src/Digipolis.Web/Api/Tools/LinkProvider.cs

Possible solutions:

  • make href relative instead of absolute (breaking?)
  • use source header instead of context
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

No branches or pull requests

1 participant