Skip to content

Commit

Permalink
Add TRIGGER_STREAMS_URL to auto-populated dev env vars (#1485)
Browse files Browse the repository at this point in the history
  • Loading branch information
ericallam authored Nov 19, 2024
1 parent 7d47088 commit 8ba226b
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -676,6 +676,14 @@ async function resolveBuiltInDevVariables(runtimeEnvironment: RuntimeEnvironment
key: "OTEL_EXPORTER_OTLP_ENDPOINT",
value: env.DEV_OTEL_EXPORTER_OTLP_ENDPOINT ?? env.APP_ORIGIN,
},
{
key: "TRIGGER_API_URL",
value: env.API_ORIGIN ?? env.APP_ORIGIN,
},
{
key: "TRIGGER_STREAM_URL",
value: env.STREAM_ORIGIN ?? env.API_ORIGIN ?? env.APP_ORIGIN,
},
];

if (env.DEV_OTEL_BATCH_PROCESSING_ENABLED === "1") {
Expand Down

0 comments on commit 8ba226b

Please sign in to comment.