diff options
Diffstat (limited to 'internal/server/logging.go')
-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 ac8468f..bbe9469 100644 --- a/internal/server/logging.go +++ b/internal/server/logging.go @@ -51,7 +51,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 } |