Merge branch 'master' of https://github.com/WolverinDEV/TeaClientServices
commit
f9267daa20
|
@ -160,5 +160,7 @@ class GeoResolverIpInfo implements GeoLocationResolver {
|
|||
|
||||
export let geoLocationProvider: GeoLocationProvider;
|
||||
|
||||
export function initializeGeoService() {
|
||||
geoLocationProvider = new GeoLocationProvider();
|
||||
geoLocationProvider.loadCache();
|
||||
}
|
|
@ -1,3 +1,5 @@
|
|||
import {initializeGeoService} from "./GeoLocation";
|
||||
|
||||
export { ClientServiceLogger, setClientServiceLogger } from "./Logging";
|
||||
export { ActionResult } from "./Action";
|
||||
|
||||
|
@ -8,3 +10,7 @@ export * as Messages from "./Messages";
|
|||
|
||||
export { ClientServiceInvite, InviteLinkInfo } from "./ClientServiceInvite";
|
||||
export { ClientServiceConfig, ClientServices, LocalAgent } from "./ClientService";
|
||||
|
||||
export function initializeClientServices() {
|
||||
initializeGeoService();
|
||||
}
|
Loading…
Reference in New Issue