Minor changes
This commit is contained in:
parent
3cd8b403c5
commit
0204958e81
@ -47,6 +47,7 @@ func logRequest(ctx *aero.Context, responseTime time.Duration) {
|
|||||||
|
|
||||||
if len(hostNames) != 0 {
|
if len(hostNames) != 0 {
|
||||||
hostName = hostNames[0]
|
hostName = hostNames[0]
|
||||||
|
hostName = strings.TrimSuffix(hostName, ".")
|
||||||
}
|
}
|
||||||
|
|
||||||
// Log every request
|
// Log every request
|
||||||
|
Loading…
Reference in New Issue
Block a user