From 5f50ba58f2b2d86848e4ba8f84664cc138a473d6 Mon Sep 17 00:00:00 2001 From: ethanburmane Date: Thu, 17 Oct 2024 22:40:21 +0000 Subject: [PATCH] fixed problems, now using env in index.html --- ui/src/app.py | 2 +- ui/src/templates/index.html | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ui/src/app.py b/ui/src/app.py index 7802a39..183f6a8 100644 --- a/ui/src/app.py +++ b/ui/src/app.py @@ -13,7 +13,7 @@ @app.route("/") def index(): - return render_template("index.html") + return render_template("index.html", rov_ip=os.getenv("ROV_IP")) def initialize_frontend_nodes(): diff --git a/ui/src/templates/index.html b/ui/src/templates/index.html index e29dc9e..4160790 100644 --- a/ui/src/templates/index.html +++ b/ui/src/templates/index.html @@ -11,8 +11,8 @@ 2. Change only the IP address, the port REMAINS 8889 3. Delete the extra camera output frames if duplicates --> - - + + \ No newline at end of file