We currently use the UI enviroment variable as the connection. However, this is incorrect and should be the FM_API_URL passed into the Coordinators config for fedimintd.
Related.
getMyPeerId() in api.ts checks FM_API_URL against REACT_APP_FM_CONFIG_API, which are different when running the API on same localhost as the UI.
We currently use the UI enviroment variable as the connection. However, this is incorrect and should be the
FM_API_URL
passed into the Coordinators config for fedimintd.