docs: fix stale 'forge not behind the gateway' comments
hive-c0re/server.rs and hive-host-sock/lib.rs still described the deleted behindGateway option as if a forge URL could be None for that reason. Reword both to match the HiveUrls doc's publicUrl wording. Refs #4885
This commit is contained in:
parent
ac592a5d23
commit
af5fabcdb7
2 changed files with 3 additions and 3 deletions
|
|
@ -852,8 +852,8 @@ fn is_broad_scope(scope: &LifecycleScope) -> bool {
|
||||||
|
|
||||||
/// Assemble this hive's domain + browser-facing web URLs from c0re's
|
/// Assemble this hive's domain + browser-facing web URLs from c0re's
|
||||||
/// service env (injected by the hyperhive NixOS module). Each field is `None` when its
|
/// service env (injected by the hyperhive NixOS module). Each field is `None` when its
|
||||||
/// surface isn't browser-reachable (domain unset, forge not behind the
|
/// surface isn't browser-reachable (domain unset, forge `publicUrl`
|
||||||
/// gateway, matrix GUI off), so the CLI can hint precisely instead of
|
/// null, matrix GUI off), so the CLI can hint precisely instead of
|
||||||
/// opening a dead link. Scheme matches the existing `HIVE_FORGE_PUBLIC_URL`
|
/// opening a dead link. Scheme matches the existing `HIVE_FORGE_PUBLIC_URL`
|
||||||
/// convention (gateway terminates TLS, so https).
|
/// convention (gateway terminates TLS, so https).
|
||||||
fn hive_urls() -> hive_host_sock::HiveUrls {
|
fn hive_urls() -> hive_host_sock::HiveUrls {
|
||||||
|
|
|
||||||
|
|
@ -212,7 +212,7 @@ pub enum HostRequest {
|
||||||
/// (`services.hyperhive.domain`) plus the browser-facing home /
|
/// (`services.hyperhive.domain`) plus the browser-facing home /
|
||||||
/// forge / matrix URLs, daemon-sourced so custom forge/matrix
|
/// forge / matrix URLs, daemon-sourced so custom forge/matrix
|
||||||
/// domains resolve correctly. Each URL is `None` when its subsystem
|
/// domains resolve correctly. Each URL is `None` when its subsystem
|
||||||
/// is unreachable from a browser (e.g. forge not behind the gateway,
|
/// is unreachable from a browser (e.g. forge `publicUrl` null,
|
||||||
/// matrix GUI disabled). Backs `hivectl open` + the federation
|
/// matrix GUI disabled). Backs `hivectl open` + the federation
|
||||||
/// peer-config block (which reads the bare `domain`).
|
/// peer-config block (which reads the bare `domain`).
|
||||||
Urls,
|
Urls,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue