fn lan_forward_routes(state: &AppState) -> Router<AppState>Expand description
The routes an LAN peer actually calls when forwarding a jekt or
looking up which agents this instance hosts
(LanDiscoveryController::find_agent, server/reactive.rs’s Tier-3
forward). Kept OUT of reactive_routes/authed_routes deliberately
— merged at the top level with their own lan_or_full_auth_middleware
instead, so a LAN peer’s scoped lan_key (see Config::lan_key) is
accepted here without also being accepted by authed_routes’s much
broader surface (the general auth_middleware there requires the
full auth_key only). See lan_or_full_auth_middleware’s doc
comment for why this can’t just be nested inside authed_routes.