diff options
| author | Xe Iaso <me@xeiaso.net> | 2023-06-19 21:59:53 -0400 |
|---|---|---|
| committer | Xe Iaso <me@xeiaso.net> | 2023-06-19 21:59:53 -0400 |
| commit | 60264ef896ea876456ea3168882049405c3ed38d (patch) | |
| tree | ba1b981372b31af09d4e5cf292f707da28355663 /web/nodeinfo/nodeinfo.go | |
| parent | 390f313d38a39be9876176eed4b2a50c11657b1e (diff) | |
| download | x-60264ef896ea876456ea3168882049405c3ed38d.tar.xz x-60264ef896ea876456ea3168882049405c3ed38d.zip | |
cmd: add new command xatci
Signed-off-by: Xe Iaso <me@xeiaso.net>
Diffstat (limited to 'web/nodeinfo/nodeinfo.go')
| -rw-r--r-- | web/nodeinfo/nodeinfo.go | 2 |
1 files changed, 1 insertions, 1 deletions
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) } |
