[BUG]: API always uses localhost:8080 for host #65

Closed
opened 2025-07-08 08:39:04 -04:00 by AtHeartEngineer · 0 comments

Originally created by @rhoot on 5/22/2025

Checklist

  • I have searched existing issues to make sure this bug hasn't already been reported.
  • I have checked the documentation at https://docs.endurain.com and didn't find a solution.

Description

When trying to link to Garmin Connect, the login fails because it is trying to use http://localhost:8080 as the host despite having set ENDURAIN_HOST to another URL in the docker environment. The problem seems to be that start.sh only updates .js and .css files, but not the .env file the front-end uses.

Steps to Reproduce

  1. Version v0.11.3
  2. Go to Settings > Integrations
  3. Try to connect to Garmin Connect
  4. It ignores ENDURAIN_HOST and uses http://localhost:8080

Expected Behavior

It should use the configured host.

*Originally created by @rhoot on 5/22/2025* ## Checklist - [x] I have searched **existing issues** to make sure this bug hasn't already been reported. - [x] I have checked the **documentation** at [https://docs.endurain.com](https://docs.endurain.com) and didn't find a solution. ## Description When trying to link to Garmin Connect, the login fails because it is trying to use `http://localhost:8080` as the host despite having set `ENDURAIN_HOST` to another URL in the docker environment. The problem seems to be that `start.sh` only updates .js and .css files, but not the .env file the front-end uses. ## Steps to Reproduce 1. Version v0.11.3 2. Go to Settings > Integrations 3. Try to connect to Garmin Connect 4. It ignores `ENDURAIN_HOST` and uses http://localhost:8080 ## Expected Behavior It should use the configured host.
AtHeartEngineer added the bugbugbugbugbugbugbugbugbugbugbugbugbugbug labels 2025-07-08 08:39:05 -04:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/endurain#65