Add dashboard URL to relay description and bump version to v0.8.3.
Some checks failed
Go / build (push) Has been cancelled
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:
@@ -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,
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
v0.8.2
|
v0.8.3
|
||||||
Reference in New Issue
Block a user