openvidu-server: fix GeoLocationByIpDummy to support Connection ip

pull/648/head
pabloFuente 2021-08-10 17:56:26 +02:00
parent 7d17c05409
commit 2cba879541
1 changed files with 1 additions and 1 deletions

View File

@ -6,7 +6,7 @@ public class GeoLocationByIpDummy implements GeoLocationByIp {
@Override
public GeoLocation getLocationByIp(InetAddress ipAddress) throws Exception {
return null;
return new GeoLocation(ipAddress.getHostAddress());
}
}