Hi - I posted a while back on this topic and unfortunately I've made no progress. I'm trying to use the REACT_APP_BASE_URL env var to override the base url but I can't get it to work.
1) When I docker exec into the container, I can verify the env var is set correctly: "REACT_APP_BASE_URL=
http://54.92.159.237:4000/api"
2) In the code, it looks like it should be using the REACT_APP_BASE_URL env var to override the BASE_URL if it is set
packages/create-app/templates/default-app/packages/client/src/Config.ts: BASE_URL: process.env.REACT_APP_BASE_URL || '/api'
So here I presume I would include the /api at the end. I tried without it but it made no difference as its not getting picked up in any form as shown below
3) An error occurs and the stderr that appears is as follows. The request shows no bearing that the REACT_APP_BASE_URL was incorporated in any way?
*1 api could not be resolved (3: Host not found), client: 151.225.172.21, server: , request: "GET /api/footprint?start=2023-01-09&end=2024-01-09&ignoreCache=false&groupBy=day&limit=50000&skip=0 HTTP/1.1", host: "204.235.202.83", referrer: "
http://204.235.202.83/"
I've tried everything I can think of. Please let me know if there is a solution to this