improve: geoip

This commit is contained in:
naiba
2025-02-09 14:39:12 +08:00
parent e30b3b4cf9
commit 65f9db7d5a
4 changed files with 50 additions and 38 deletions

View File

@@ -296,5 +296,5 @@ func (s *NezhaHandler) ReportGeoIP(c context.Context, r *pb.GeoIP) (*pb.GeoIP, e
// 将地区码写入到 Host
server.GeoIP = &geoip
return &pb.GeoIP{Ip: nil, CountryCode: location}, nil
return &pb.GeoIP{Ip: nil, CountryCode: location, DashboardBootTime: singleton.DashboardBootTime}, nil
}