Hey artem, I notice that src/config you're hardcod...
# dev-frontend
m
Hey artem, I notice that src/config you're hardcoding the api to be
apiUrl: "<http://localhost:8001/api/v1/>"
the images that we generate expect localhost now for the API. I tried to install it on a public instance
and obviously it doesn't work
Is there any chance we can make the API to default to be on the same domain (but 8001 port) ?
a
Do you mean that instead of local host you want to use current domain used? So if it’s hosted on domain.com then API is on domain.com:8001/api right?
m
yes
with the possibility of overriding it with the env variable
👍 1