From 60264ef896ea876456ea3168882049405c3ed38d Mon Sep 17 00:00:00 2001 From: Xe Iaso Date: Mon, 19 Jun 2023 21:59:53 -0400 Subject: cmd: add new command xatci Signed-off-by: Xe Iaso --- web/nodeinfo/nodeinfo.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'web/nodeinfo/nodeinfo.go') diff --git a/web/nodeinfo/nodeinfo.go b/web/nodeinfo/nodeinfo.go index 7c77c0e..2ab34ce 100644 --- a/web/nodeinfo/nodeinfo.go +++ b/web/nodeinfo/nodeinfo.go @@ -140,7 +140,7 @@ func FetchWithClient(ctx context.Context, cli *http.Client, nodeURL string) (*No // Fetch uses the standard library HTTP client to fetch node information. func Fetch(ctx context.Context, nodeURL string) (*Node, error) { cli := &http.Client{ - Transport: useragent.Transport("github.com/Xe/x/web/nodeinfo", "https://within.website/.x.botinfo", http.DefaultTransport), + Transport: useragent.Transport("within.website/x/web/nodeinfo", "https://within.website/.x.botinfo", http.DefaultTransport), } return FetchWithClient(ctx, cli, nodeURL) } -- cgit v1.2.3