all repos — honk @ a5dec11f537e917753bc5667b5ad5cee9ab91270

my fork of honk

remove stupid import
Anirudh Oppiliappan x@icyphox.sh
Tue, 20 Jun 2023 22:42:08 +0300
commit

a5dec11f537e917753bc5667b5ad5cee9ab91270

parent

0734ed4d3c7aa5ceaddeceb4f659364c5a8a7534

2 files changed, 3 insertions(+), 4 deletions(-)

jump to
M hoot.gohoot.go

@@ -24,7 +24,6 @@ "regexp"

"strings" "github.com/andybalholm/cascadia" - "github.com/sassoftware/relic/lib/dlog" "golang.org/x/net/html" "humungus.tedunangst.com/r/webs/htfilter" "humungus.tedunangst.com/r/webs/templates"
M web.goweb.go

@@ -36,7 +36,6 @@ "time"

"unicode/utf8" "github.com/gorilla/mux" - "github.com/sassoftware/relic/lib/dlog" "humungus.tedunangst.com/r/webs/cache" "humungus.tedunangst.com/r/webs/httpsig" "humungus.tedunangst.com/r/webs/junk"

@@ -2233,12 +2232,13 @@ l["rel"] = "self"

l["type"] = `application/activity+json` l["href"] = user.URL j["links"] = []junk.Junk{l} - return j.ToBytes(), true l2 := junk.New() l2["rel"] = "http://webfinger.net/rel/profile-page" l2["type"] = "text/html" l2["href"] = pretty j["links"] = []junk.Junk{l, l2} + + return j.ToBytes(), true }}) func fingerlicker(w http.ResponseWriter, r *http.Request) {

@@ -2328,7 +2328,7 @@ if redir := lookatme(n); redir != "" {

http.Redirect(w, r, redir, http.StatusSeeOther) return } - a := genAvatar(n) + a = genAvatar(n) if !develMode { w.Header().Set("Cache-Control", "max-age="+somedays()) }