Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
zyxkad committed Mar 5, 2024
1 parent eaed01b commit 5e45d64
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ func (cr *Cluster) GetHandler() http.Handler {
u.Scheme = "https"
u.Host = net.JoinHostPort(host, strconv.Itoa((int)(cr.publicPort)))

logDebugf("Redirecting from %s to %s", req.Host, u.String())
log.Debugf("Redirecting from %s to %s", req.Host, u.String())

rw.Header().Set("Location", u.String())
rw.Header().Set("Content-Length", "0")
Expand Down

0 comments on commit 5e45d64

Please sign in to comment.