diff --git a/src/environments/environment.ts b/src/environments/environment.ts index a4bbc0a9d..b05c752d1 100644 --- a/src/environments/environment.ts +++ b/src/environments/environment.ts @@ -8,10 +8,10 @@ import env from './.env'; export const environment = { production: false, - version: '1.0', + version: env.mifos_x_version, fineractPlatformTenantId: 'default', // For connecting to server running elsewhere update the tenant identifier baseApiUrl: JSON.parse(localStorage.getItem('mifosXServerURL')) || 'https://dev.mifos.io', // For connecting to server running elsewhere update the base API URL - allowServerSwitch: 'true', + allowServerSwitch: env.allow_switching_backend_instance, apiProvider: '/fineract-provider/api', apiVersion: '/v1', serverUrl: '',