mirror of https://github.com/OpenVidu/openvidu.git
openvidu-server: fix GeoLocationByIpDummy to support Connection ip
parent
7d17c05409
commit
2cba879541
|
@ -6,7 +6,7 @@ public class GeoLocationByIpDummy implements GeoLocationByIp {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public GeoLocation getLocationByIp(InetAddress ipAddress) throws Exception {
|
public GeoLocation getLocationByIp(InetAddress ipAddress) throws Exception {
|
||||||
return null;
|
return new GeoLocation(ipAddress.getHostAddress());
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue