Neutralize box/host names in comments (hub box / bridge box instead of internal hostnames)

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
2026-09-27 00:51:19 +02:00
co-authored by Claude Fable 5.1
parent 4e43e69583
commit 91766f2264
20 changed files with 26 additions and 26 deletions
+4 -4
View File
@@ -15,8 +15,8 @@ package nodelist
//
// Which URL is read is per-box config MONITOR_STATUS_URL (falls back to
// REFLECTOR_STATUS_URL):
// speed → https://reflector.sm2ampr.net/geu/status/ (the master's full view)
// aldmr → http://127.0.0.1:8080/status (its own reflector)
// hub box → https://<master-reflector>/geu/status/ (the master's full view)
// bridge box → http://127.0.0.1:8080/status (its own reflector)
import (
"encoding/json"
@@ -309,8 +309,8 @@ func buildMonitor(client *http.Client, generated string) (monStatus, bool) {
return monStatus{}, false
}
// Normalize at ingest: sat-login node callsigns -> per-TG name. Covers the
// case where monitorStatusURL is a foreign master (e.g. speed reads the SE hub
// where aldmr's sat nodes federate in). A local read via the proxy is already
// case where monitorStatusURL is a foreign master (e.g. a hub box reads a foreign master
// where its satellite nodes federate in). A local read via the proxy is already
// normalized; re-normalizing is a harmless no-op.
body = statusnorm.Normalize(body, renameSatNode)
var raw struct {