all repos — honk @ eb3473e010d970fd84c85a7b841bf39d60bbe40c

my fork of honk

fix finding one honk
Ted Unangst tedu@tedunangst.com
Mon, 20 May 2019 11:48:37 -0400
commit

eb3473e010d970fd84c85a7b841bf39d60bbe40c

parent

58245d7cc1a82e1ca9390ddfcae83181857eca6e

1 files changed, 1 insertions(+), 1 deletions(-)

jump to
M honk.gohonk.go

@@ -459,12 +459,12 @@ }

func showhonk(w http.ResponseWriter, r *http.Request) { name := mux.Vars(r)["name"] - xid := mux.Vars(r)["xid"] user, err := butwhatabout(name) if err != nil { http.NotFound(w, r) return } + xid := fmt.Sprintf("https://%s%s", serverName, r.URL.Path) h := getxonk(user.ID, xid) if h == nil { http.NotFound(w, r)