dashboard.rs: update gateway routing comment to reflect agents.conf (#872)

This commit is contained in:
atlas 2026-05-31 20:24:39 +02:00 committed by mara
commit cbe8d25e25

View file

@ -240,11 +240,11 @@ struct StateSnapshot {
/// module when `services.hyperhive.gateway.enable` is on). When
/// true the dashboard frontend builds same-origin
/// `/agent/<name>/` links to the per-agent web UI (the gateway
/// proxies them via `agent-ports.json` + `agent-sockets.json`);
/// when false it falls back to direct
/// `http://<hostname>:<port>/` TCP links so gateway-off /
/// local-dev deploys keep working. See
/// `docs/gateway.md::Vhost map`.
/// routes them via the runtime-generated `agents.conf` include
/// file — see `gateway_nginx.rs`); when false it falls back to
/// direct `http://<hostname>:<port>/` TCP links so gateway-off /
/// local-dev deploys keep working. See `docs/gateway.md::Vhost
/// map`.
gateway_enabled: bool,
}