Add dashboard URL to relay description and bump version to v0.8.3.
Some checks failed
Go / build (push) Has been cancelled

- Updated relay description to include a dynamically constructed dashboard URL.
- Incremented version from v0.8.2 to v0.8.3.
This commit is contained in:
2025-09-23 14:55:25 +01:00
parent 34a3b1ba69
commit 50179e44ed
2 changed files with 6 additions and 2 deletions

View File

@@ -63,9 +63,13 @@ func (s *Server) HandleRelayInfo(w http.ResponseWriter, r *http.Request) {
} }
sort.Sort(supportedNIPs) sort.Sort(supportedNIPs)
log.T.Ln("supported NIPs", supportedNIPs) log.T.Ln("supported NIPs", supportedNIPs)
// Construct description with dashboard URL
dashboardURL := s.DashboardURL(r)
description := version.Description + " dashboard: " + dashboardURL
info = &relayinfo.T{ info = &relayinfo.T{
Name: s.Config.AppName, Name: s.Config.AppName,
Description: version.Description, Description: description,
Nips: supportedNIPs, Nips: supportedNIPs,
Software: version.URL, Software: version.URL,
Version: version.V, Version: version.V,

View File

@@ -1 +1 @@
v0.8.2 v0.8.3