From 4336cc2cbcc5b8c679702a2d9cb7d0d2e00ae067 Mon Sep 17 00:00:00 2001 From: James Pace Date: Wed, 3 Jun 2026 15:23:35 -0400 Subject: [PATCH] Don't hard code localhost for mediamtx location. --- src/Autonomy.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/Autonomy.tsx b/src/Autonomy.tsx index 62809da..ba85420 100644 --- a/src/Autonomy.tsx +++ b/src/Autonomy.tsx @@ -58,6 +58,8 @@ export function Autonomy() { const statusString = useAtomValue(statusStringAtom); const latLong = useAtomValue(latLongAtom); + const imageStreamURI = "http://" + window.location.hostname + ":8889/image/whep"; + return (
@@ -66,7 +68,7 @@ export function Autonomy() {