From 2d489e5d7541c2a9a91d1bcab9e398735c781066 Mon Sep 17 00:00:00 2001 From: Ted Unangst Date: Sat, 19 Oct 2019 21:15:02 -0400 Subject: [PATCH] serverless redirect, in case we're testing a different hostname --- web.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web.go b/web.go index 809081f..42ff924 100644 --- a/web.go +++ b/web.go @@ -1266,7 +1266,7 @@ func submithonk(w http.ResponseWriter, r *http.Request) { go honkworldwide(user, honk) - http.Redirect(w, r, honk.XID, http.StatusSeeOther) + http.Redirect(w, r, honk.XID[len(serverName)+8:], http.StatusSeeOther) } func showhonkers(w http.ResponseWriter, r *http.Request) {