Skip to content

Commit 43df3b3

Browse files
committed
fix app origin fallback for otlp endpoint
1 parent 45c1ea0 commit 43df3b3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -824,7 +824,7 @@ async function resolveBuiltInDevVariables(runtimeEnvironment: RuntimeEnvironment
824824
let result: Array<EnvironmentVariable> = [
825825
{
826826
key: "OTEL_EXPORTER_OTLP_ENDPOINT",
827-
value: env.DEV_OTEL_EXPORTER_OTLP_ENDPOINT ?? env.APP_ORIGIN,
827+
value: env.DEV_OTEL_EXPORTER_OTLP_ENDPOINT ?? `${env.APP_ORIGIN.replace(/\/$/, "")}/otel`,
828828
},
829829
{
830830
key: "TRIGGER_API_URL",

0 commit comments

Comments
 (0)