docs: two comments no longer mention the removed agent login
This commit is contained in:
parent
934ba3a9c5
commit
0c78ccbf84
2 changed files with 6 additions and 9 deletions
|
|
@ -9,13 +9,10 @@
|
||||||
// visual language needed for the chrome itself.
|
// visual language needed for the chrome itself.
|
||||||
|
|
||||||
// Measures its own rendered height via ResizeObserver, writes it to
|
// Measures its own rendered height via ResizeObserver, writes it to
|
||||||
// `--agent-header-real-h` (agent.css's downstream consumers —
|
// `--agent-header-real-h` (`.agent-main`'s scroll padding, in agent.css,
|
||||||
// `.agent-status-overlay`, `.agent-main`'s scroll padding — prefer
|
// prefers this over the static `--agent-header-h` guess). A static guess
|
||||||
// this over the static `--agent-header-h` guess). A static guess was
|
// broke whenever header content wrapped an extra line, at whatever width
|
||||||
// the root cause of two "login card behind the header" reports on
|
// triggered it, and no width can be promised safe. Deliberately a SEPARATE var, not an overwrite
|
||||||
// this PR (mara, live): any header content that can wrap an extra
|
|
||||||
// line breaks the guess at whatever width triggers it, and no width
|
|
||||||
// can be promised safe. Deliberately a SEPARATE var, not an overwrite
|
|
||||||
// of `--agent-header-h` in place: `.agent-header`'s own `min-height`
|
// of `--agent-header-h` in place: `.agent-header`'s own `min-height`
|
||||||
// also reads that var — overwriting it in place would make the
|
// also reads that var — overwriting it in place would make the
|
||||||
// header's own size react to its own just-measured height every
|
// header's own size react to its own just-measured height every
|
||||||
|
|
|
||||||
|
|
@ -66,8 +66,8 @@ const PROXY_HEADER_BLOCK: &str = " proxy_http_version 1.1;
|
||||||
/// store dist. These load even while the agent daemon is restarting.
|
/// store dist. These load even while the agent daemon is restarting.
|
||||||
/// - Static assets (`/static/`) → `alias` from the nix store with cache
|
/// - Static assets (`/static/`) → `alias` from the nix store with cache
|
||||||
/// headers. Served by nginx directly, no agent socket round-trip.
|
/// headers. Served by nginx directly, no agent socket round-trip.
|
||||||
/// - Everything else (all `/api/*`, `/events/*`, `/screen/ws`, `/icon`,
|
/// - Everything else (all `/api/*`, `/events/*`, `/screen/ws`, `/icon`)
|
||||||
/// `/login/*`) → proxied to the agent daemon as before.
|
/// → proxied to the agent daemon as before.
|
||||||
///
|
///
|
||||||
/// When `frontend_dir` is `None` (legacy) each agent gets a single
|
/// When `frontend_dir` is `None` (legacy) each agent gets a single
|
||||||
/// `location /agent/<name>/` proxy block.
|
/// `location /agent/<name>/` proxy block.
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue