diff --git a/indexer/src/app/modules/agent.module.ts b/indexer/src/app/modules/agent.module.ts index ed902231..8d614371 100644 --- a/indexer/src/app/modules/agent.module.ts +++ b/indexer/src/app/modules/agent.module.ts @@ -112,7 +112,7 @@ export class Agent { } const response = await this.httpService.axiosRef({ - url: 'http://localhost:8000/discovery/search', + url: `${process.env.API_URL}/discovery/search`, method: 'POST', data: payload, });