[how-to] I have a query which should hit different based on environment

I have a query which based on environment (prod/staging) should hit a different API host, how can this be achieved?
Right now its easy to setup a resource (DB, Redis, ES) to connect to multiple environments, but I didn't find a way to setup something similar for queries.
I am using the 2.99.5 version.

Hi @vivekkothari! You should be able to set different base URLs in the resource setup page for your API. Is this close to what you're looking for?


Thanks. That was it.