diff --git a/server/internal/library/location/location.go b/server/internal/library/location/location.go index 7b9633f..31cdbf8 100644 --- a/server/internal/library/location/location.go +++ b/server/internal/library/location/location.go @@ -204,5 +204,6 @@ func GetClientIp(r *ghttp.Request) string { if gstr.Contains(ip, ", ") { ip = gstr.TrimStr(ip, ", ", -1) } + return ip }