API endpoint list missing port?
See original GitHub issueI have installed babybuddy on port 8027 via nginx redirect to the bb default port 8000 via linuxserver/docker-babybuddy container. When i call the API endpoint list on http://192.168.200.2:8027/api/ i get back the list of API endpoints like follows as JSON response:
{"children":"http://192.168.200.2/api/children/","changes":"http://192.168.200.2/api/changes/","feedings":"http://192.168.200.2/api/feedings/","notes":"http://192.168.200.2/api/notes/","sleep":"http://192.168.200.2/api/sleep/","temperature":"http://192.168.200.2/api/temperature/","timers":"http://192.168.200.2/api/timers/","tummy-times":"http://192.168.200.2/api/tummy-times/","weight":"http://192.168.200.2/api/weight/","height":"http://192.168.200.2/api/height/","head-circumference":"http://192.168.200.2/api/head-circumference/","bmi":"http://192.168.200.2/api/bmi/"}
Shouldn’t be the port included here?
Because these endpoints obviously do not work like they are inside the JSON response.
Issue Analytics
- State:
- Created a year ago
- Comments:5 (2 by maintainers)
Top GitHub Comments
Manually changing the mounted file
/config/nginx/site-confs/default
(as described here: https://github.com/jcgoette/baby_buddy_homeassistant/issues/60#issuecomment-1127126277) and restarting the container fixes the problem! thanks everyone!@myxor could you take another look this issue now that https://github.com/linuxserver/docker-babybuddy/pull/19 is merged?