diff options
author | Julio Capote <jcapote@gmail.com> | 2023-01-05 15:58:08 +0000 |
---|---|---|
committer | Julio Capote <jcapote@gmail.com> | 2023-01-05 15:58:08 +0000 |
commit | 0c8d00a4396e7717b20a79769b0a6ee29c00ab24 (patch) | |
tree | 7d66e2231af68f9123267813aa3789b94cb6fd2e /registry | |
parent | 7cc3e430e0912b67fdaa7c4f9db52e736c2c8370 (diff) | |
download | communique-0c8d00a4396e7717b20a79769b0a6ee29c00ab24.tar.gz |
moar logging
Diffstat (limited to 'registry')
-rw-r--r-- | registry/registry.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/registry/registry.go b/registry/registry.go index ac486d9..4b61a7b 100644 --- a/registry/registry.go +++ b/registry/registry.go @@ -253,6 +253,7 @@ func (r *Registry) deliverAcceptToInbox(url, actorUrl *url.URL, follow vocab.Act request, err := http.NewRequest("POST", url.String(), bytes.NewBuffer(jsonData)) request.Header.Set("Date", time.Now().Format(http.TimeFormat)) request.Header.Set("Content-Type", "application/ld+json; profile=\"https://www.w3.org/ns/activitystreams\"") + request.Header.Set("Host", url.Host) r.log.With( "type", |