serverless redirect, in case we're testing a different hostname

This commit is contained in:
Ted Unangst 2019-10-19 21:15:02 -04:00
parent 53fe945f29
commit 2d489e5d75
1 changed files with 1 additions and 1 deletions

2
web.go
View File

@ -1266,7 +1266,7 @@ func submithonk(w http.ResponseWriter, r *http.Request) {
go honkworldwide(user, honk) 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) { func showhonkers(w http.ResponseWriter, r *http.Request) {