From 36c63daa85818488055edf8ae63af58058e4efb2 Mon Sep 17 00:00:00 2001
From: FChannel <>
Date: Mon, 4 Oct 2021 20:10:11 -0700
Subject: fix for aref link slash to correct path
---
client.go | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
(limited to 'client.go')
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), `/\<`, ">")
- link := ">>" + shortURL(actor.Outbox, id) + ""
+ link := ">>" + shortURL(actor.Outbox, id) + ""
return template.HTML(link)
},
"add": func(i, j int) int {
--
cgit v1.2.3