irrelevant minor things.

This commit is contained in:
fiatjaf
2025-09-29 16:20:19 -03:00
parent 9ba61b56e6
commit f69c78cba7
2 changed files with 3 additions and 0 deletions

View File

@@ -41,6 +41,7 @@ func Fetch(ctx context.Context, u string) (info RelayInformationDocument, err er
// add the NIP-11 header
req.Header.Add("Accept", "application/nostr+json")
req.Header.Add("User-Agent", "nostrlib/go")
// send the request
resp, err := http.DefaultClient.Do(req)