Skip to content

Commit 78c02e9

Browse files
fix(application-generic): Introduce API_INTERNAL_ORIGIN (#7687)
1 parent ccf2923 commit 78c02e9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libs/application-generic/src/usecases/execute-bridge-request/execute-bridge-request.usecase.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,7 @@ export class ExecuteBridgeRequest {
285285
return `http://localhost:${process.env.PORT}`;
286286
}
287287

288-
const apiUrl = process.env.API_ROOT_URL;
288+
const apiUrl = process.env.API_INTERNAL_ORIGIN || process.env.API_ROOT_URL;
289289

290290
if (!apiUrl) {
291291
throw new Error('API_ROOT_URL environment variable is not set');

0 commit comments

Comments
 (0)