fix finding one honk
Ted Unangst tedu@tedunangst.com
Mon, 20 May 2019 11:48:37 -0400
1 files changed,
1 insertions(+),
1 deletions(-)
jump to
M
honk.go
→
honk.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)