[bug] redirects bypass iframe mount when behind hero_router #19

Closed
opened 2026-05-04 14:00:55 +00:00 by zaelgohary · 0 comments
Member

state.base_path is read once at startup from BASE_PATH env var. When the env var is unset (current deploy), every Redirect::to becomes absolute (e.g. /c/threefold) and bypasses the iframe mount prefix, returning 503 from hero_router.

Found via Playwright network audit.

`state.base_path` is read once at startup from `BASE_PATH` env var. When the env var is unset (current deploy), every `Redirect::to` becomes absolute (e.g. `/c/threefold`) and bypasses the iframe mount prefix, returning 503 from hero_router. Found via Playwright network audit.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
lhumina_code/hero_biz#19
No description provided.