matthiaskoenig / pkdb

Pharmacokinetics database
https://alpha.pk-db.com
30 stars 6 forks source link

Next page and previous page urls are incorrect in API #643

Closed matthiaskoenig closed 3 years ago

matthiaskoenig commented 3 years ago

The next_page and previous page urls are incorrect in the API. E.g. https://pk-db.com/api/v1/info_nodes/?format=json

next_page_url: http://127.0.0.1/api/v1/info_nodes/?format=json&page=2"

matthiaskoenig commented 3 years ago

This only seems to affect the deployment on https://pk-db.com. Checking if a new release fixes the issue because alpha and developrun later versions were things work.

matthiaskoenig commented 3 years ago

This was some issue related to proxy forwarding on the host nginx configuration. Works now on all servers.