14 lines
344 B
TypeScript
14 lines
344 B
TypeScript
import {GEOLOCATION_URL} from '#/env'
|
|
import {type Geolocation} from '#/geolocation/types'
|
|
|
|
export const GEOLOCATION_SERVICE_URL = `${GEOLOCATION_URL}/geolocation`
|
|
|
|
/**
|
|
* Default geolocation config.
|
|
*/
|
|
export const FALLBACK_GEOLOCATION_SERVICE_RESPONSE: Geolocation = {
|
|
countryCode: undefined,
|
|
regionCode: undefined,
|
|
city: undefined,
|
|
}
|