1
0
Fork 0
WolverinDEV 2021-02-20 18:35:21 +01:00
commit f9267daa20
2 changed files with 10 additions and 2 deletions

View File

@ -160,5 +160,7 @@ class GeoResolverIpInfo implements GeoLocationResolver {
export let geoLocationProvider: GeoLocationProvider; export let geoLocationProvider: GeoLocationProvider;
geoLocationProvider = new GeoLocationProvider(); export function initializeGeoService() {
geoLocationProvider.loadCache(); geoLocationProvider = new GeoLocationProvider();
geoLocationProvider.loadCache();
}

View File

@ -1,3 +1,5 @@
import {initializeGeoService} from "./GeoLocation";
export { ClientServiceLogger, setClientServiceLogger } from "./Logging"; export { ClientServiceLogger, setClientServiceLogger } from "./Logging";
export { ActionResult } from "./Action"; export { ActionResult } from "./Action";
@ -8,3 +10,7 @@ export * as Messages from "./Messages";
export { ClientServiceInvite, InviteLinkInfo } from "./ClientServiceInvite"; export { ClientServiceInvite, InviteLinkInfo } from "./ClientServiceInvite";
export { ClientServiceConfig, ClientServices, LocalAgent } from "./ClientService"; export { ClientServiceConfig, ClientServices, LocalAgent } from "./ClientService";
export function initializeClientServices() {
initializeGeoService();
}