diff options
Diffstat (limited to 'internal')
-rw-r--r-- | internal/server/logging.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/server/logging.go b/internal/server/logging.go index fcdab18..65dcb87 100644 --- a/internal/server/logging.go +++ b/internal/server/logging.go @@ -32,7 +32,7 @@ func wrapHandlerWithLogging(wrappedHandler http.Handler, opts wrappedHandlerOpti if scheme == "" { scheme = "http" } - host := r.Header.Get("Host") + host := r.Host if host == "" { host = opts.defaultHostname } |