test: add more tests (#1150)
This commit is contained in:
@@ -10,5 +10,6 @@ func GetRemoteAddr(r *http.Request) string {
|
||||
if len(v) > 0 {
|
||||
return v
|
||||
}
|
||||
|
||||
return r.RemoteAddr
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user