Browse Source

Add dashboard URL to relay description and bump version to v0.8.3.

- Updated relay description to include a dynamically constructed dashboard URL.
- Incremented version from v0.8.2 to v0.8.3.
main
mleku 4 months ago
parent
commit
50179e44ed
No known key found for this signature in database
  1. 6
      app/handle-relayinfo.go
  2. 2
      pkg/version/version

6
app/handle-relayinfo.go

@ -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,

2
pkg/version/version

@ -1 +1 @@
v0.8.2 v0.8.3
Loading…
Cancel
Save