serverless redirect, in case we're testing a different hostname
This commit is contained in:
parent
53fe945f29
commit
2d489e5d75
2
web.go
2
web.go
|
@ -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) {
|
||||||
|
|
Loading…
Reference in New Issue