Update relay description and fix indentation in handleRelayinfo.go

- pkg/version/version.go
  - Updated `Description` to include the URL `https://orly.dev`.

- pkg/app/relay/handleRelayinfo.go
  - Fixed indentation for `Nips`, `Software`, and `Version` fields in the relay info response structure.
This commit is contained in:
2025-08-07 11:06:41 +01:00
parent fd698af1ca
commit 8adb129fbe
2 changed files with 4 additions and 3 deletions

View File

@@ -53,8 +53,9 @@ func (s *Server) HandleRelayInfo(w http.ResponseWriter, r *http.Request) {
info = &relayinfo.T{
Name: s.relay.Name(),
Description: version.Description,
Nips: supportedNIPs, Software: version.URL,
Version: version.V,
Nips: supportedNIPs,
Software: version.URL,
Version: version.V,
Limitation: relayinfo.Limits{
AuthRequired: s.C.AuthRequired,
RestrictedWrites: s.C.AuthRequired,

View File

@@ -7,6 +7,6 @@ import (
//go:embed version
var V string
var Description = "relay powered by the orly framework"
var Description = "relay powered by the orly framework https://orly.dev"
var URL = "https://orly.dev"