From d917d4b20d65bcb034824de3be824652ceb7c0f9 Mon Sep 17 00:00:00 2001 From: Shawn Date: Sat, 13 Jun 2026 11:32:54 -0400 Subject: [PATCH] docs(server): add comment about UI_DIST_DIR env var on pedal --- src/web/server.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/web/server.py b/src/web/server.py index 930b60e..b394231 100644 --- a/src/web/server.py +++ b/src/web/server.py @@ -57,6 +57,8 @@ if _ui_dist_env: UI_DIST_DIR = Path(_ui_dist_env).resolve() else: # Priority order: pi-multifx-pedal-ui (Helix style) -> src/web/ui-dist (legacy) -> frontend-react (deprecated) + # NOTE: On the pedal, UI_DIST_DIR is set in the systemd service to + # the explicit path to avoid the wrong build being picked up. _candidates = [ Path(__file__).resolve().parent.parent.parent.parent / "pi-multifx-pedal-ui" / "dist", Path(__file__).resolve().parent / "ui-dist",