import env from './.env' ; export const environment = { production : true , version : env . mifos_x_version , fineractPlatformTenantId : 'default' , baseApiUrl : JSON . parse ( localStorage . getItem ( 'mifosXServerURL' ) ) || 'https://demo.fineract.dev' , allowServerSwitch : env . allow_switching_backend_instance , apiProvider : '/fineract-provider/api' , apiVersion : '/v1' , serverUrl : '' , oauth : { enabled : false , serverUrl : '' } , defaultLanguage : 'en-US' , supportedLanguages : [ 'en-US' , 'fr-FR' ] } ; environment . serverUrl = `${ environment . baseApiUrl }${ environment . apiProvider }${ environment . apiVersion }` ; environment . oauth . serverUrl = `${ environment . baseApiUrl }${ environment . apiProvider }` ;