diff --git a/src/environments/environment.prod.ts b/src/environments/environment.prod.ts index 63897a7f9..ff288db37 100644 --- a/src/environments/environment.prod.ts +++ b/src/environments/environment.prod.ts @@ -3,10 +3,10 @@ import env from './.env'; export const environment = { production: true, - 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://demo.fineract.dev', // 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: '',