aboutsummaryrefslogtreecommitdiff
path: root/client.go
diff options
context:
space:
mode:
authorFChannel <>2021-10-04 20:13:00 -0700
committerFChannel <>2021-10-04 20:13:00 -0700
commite490998c196e5c7a64e8903a500078f5c98e3dad (patch)
tree6efb333b5d2e58c6e8ac5ee21fa9850807a34862 /client.go
parent51b00e294280b44010736f9afd4b250e9a372340 (diff)
parent36c63daa85818488055edf8ae63af58058e4efb2 (diff)
Merge branch 'development'
Diffstat (limited to 'client.go')
-rw-r--r--client.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/client.go b/client.go
index dc3ed36..a8f4c9f 100644
--- a/client.go
+++ b/client.go
@@ -257,7 +257,7 @@ func OutboxGet(w http.ResponseWriter, r *http.Request, db *sql.DB, collection Co
"parseReplyLink": func(actorId string, op string, id string, content string) template.HTML {
actor := FingerActor(actorId)
title := strings.ReplaceAll(ParseLinkTitle(actor.Id, op, content), `/\&lt;`, ">")
- link := "<a href=\"" + actor.Name + "/" + shortURL(actor.Outbox, op) + "#" + shortURL(actor.Outbox, id) + "\" title=\"" + title + "\" class=\"replyLink\">&gt;&gt;" + shortURL(actor.Outbox, id) + "</a>"
+ link := "<a href=\"/" + actor.Name + "/" + shortURL(actor.Outbox, op) + "#" + shortURL(actor.Outbox, id) + "\" title=\"" + title + "\" class=\"replyLink\">&gt;&gt;" + shortURL(actor.Outbox, id) + "</a>"
return template.HTML(link)
},
"add": func(i, j int) int {