Skip to content

Commit 8ba226b

Browse files
authored
Add TRIGGER_STREAMS_URL to auto-populated dev env vars (#1485)
1 parent 7d47088 commit 8ba226b

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

apps/webapp/app/v3/environmentVariables/environmentVariablesRepository.server.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -676,6 +676,14 @@ async function resolveBuiltInDevVariables(runtimeEnvironment: RuntimeEnvironment
676676
key: "OTEL_EXPORTER_OTLP_ENDPOINT",
677677
value: env.DEV_OTEL_EXPORTER_OTLP_ENDPOINT ?? env.APP_ORIGIN,
678678
},
679+
{
680+
key: "TRIGGER_API_URL",
681+
value: env.API_ORIGIN ?? env.APP_ORIGIN,
682+
},
683+
{
684+
key: "TRIGGER_STREAM_URL",
685+
value: env.STREAM_ORIGIN ?? env.API_ORIGIN ?? env.APP_ORIGIN,
686+
},
679687
];
680688

681689
if (env.DEV_OTEL_BATCH_PROCESSING_ENABLED === "1") {

0 commit comments

Comments
 (0)