mirror of
https://github.com/mjl-/mox.git
synced 2025-06-28 01:48:15 +03:00
fix typos in referrer header
It should be referer in both cases, which whilst misspelled is the actual header name
This commit is contained in:
parent
baacdbca18
commit
2e0eea88b0
@ -352,7 +352,7 @@ func (w *loggingWriter) Done() {
|
||||
slog.Any("remoteaddr", w.R.RemoteAddr),
|
||||
slog.String("tlsinfo", tlsinfo),
|
||||
slog.String("useragent", w.R.Header.Get("User-Agent")),
|
||||
slog.String("referrr", w.R.Header.Get("Referrer")),
|
||||
slog.String("referer", w.R.Header.Get("Referer")),
|
||||
}
|
||||
if w.WebsocketRequest {
|
||||
attrs = append(attrs,
|
||||
|
Loading…
x
Reference in New Issue
Block a user