aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--TODO2
-rw-r--r--cgi/servers.go8
2 files changed, 5 insertions, 5 deletions
diff --git a/TODO b/TODO
index a398cc4..28e80a8 100644
--- a/TODO
+++ b/TODO
@@ -1,5 +1,5 @@
* graceful shutdown
* attachment support
* namespace everything to /c/ so apache can 404 requests to / instead of us
+ * makes webserver config harder due to .well-known needing to live at the root
* outbox return latest 20 posts only
-* make badger GC run continously
diff --git a/cgi/servers.go b/cgi/servers.go
index 1f15227..44a636c 100644
--- a/cgi/servers.go
+++ b/cgi/servers.go
@@ -161,24 +161,24 @@ func processTick(h config.Handler, output []byte, persister *models.Persister, l
actorKeyUrl, err := urls.UrlProfileKey(h.Name, cfg.Domain)
if err != nil {
logger.Error(err)
- return
+ continue
}
parsedUrl, err := url.Parse(joinedUrl)
if err != nil {
logger.Error(err)
- return
+ continue
}
request, err := signed.SignedRequest(h, []byte(payload), parsedUrl, actorKeyUrl)
if err != nil {
logger.Error(err)
- return
+ continue
}
client := &http.Client{}
response, err := client.Do(request)
if err != nil {
logger.Errorf("could not send activity request: %w", err)
- return
+ continue
}
responseBody, err := io.ReadAll(response.Body)
defer response.Body.Close()