Skip to content

← All questions

The generated env yaml points api at our copilot host instead of our API

Asked 2,210 views2 answers

envs/staging.yaml came out with:

yaml
api:
  baseUrl: https://copilot.example.com

That is a different service entirely. The correct value is in the same .env.example file that analyze read:

text
line 40:  SIM_AGENT_API_URL=https://copilot.example.com
line 79:  NEXT_PUBLIC_API_URL=http://localhost:3000/api

So it is not that it could not find the right one. It found both and chose the wrong one. Is there a way to tell it which variable to trust?

asked by Nikhil Sane487 ·

2 answers

Have the same question?

Ask it with the command you ran and the output you got, and it will be answered here.

Ask a question

Related