Fineract backend settings with environment variables
This commit is contained in:
committed by
Arnold Gálovics
parent
1b72136411
commit
14ceb4f3fd
@@ -1,4 +1,10 @@
|
||||
// IMPORTANT: THIS FILE IS AUTO GENERATED! DO NOT MANUALLY EDIT OR CHECKIN!
|
||||
/* tslint:disable */
|
||||
export default {
|
||||
'mifos_x_version': '0.0.0',
|
||||
'mifos_x': {
|
||||
'version': '0.0.0',
|
||||
'hash': '79efe55'
|
||||
},
|
||||
'allow_switching_backend_instance': true
|
||||
};
|
||||
/* tslint:enable */
|
||||
|
||||
@@ -3,22 +3,25 @@ import env from './.env';
|
||||
|
||||
export const environment = {
|
||||
production: true,
|
||||
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
|
||||
version: env.mifos_x.version,
|
||||
hash: env.mifos_x.hash,
|
||||
// For connecting to server running elsewhere update the tenant identifier
|
||||
fineractPlatformTenantId: window['env']['fineractPlatformTenantId'] || 'default',
|
||||
// For connecting to others servers running elsewhere update the base API URL
|
||||
baseApiUrls: window['env']['fineractApiUrls'] ||
|
||||
'https://dev.mifos.io,https://demo.mifos.io,https://qa.mifos.io,https://staging.mifos.io,https://mobile.mifos.io,https://demo.fineract.dev,https://localhost:8443',
|
||||
// For connecting to server running elsewhere set the base API URL
|
||||
baseApiUrl: window['env']['baseApiUrl'] || 'https://demo.fineract.dev',
|
||||
allowServerSwitch: env.allow_switching_backend_instance,
|
||||
apiProvider: '/fineract-provider/api',
|
||||
apiVersion: '/v1',
|
||||
apiProvider: window['env']['apiProvider'] || '/fineract-provider/api',
|
||||
apiVersion: window['env']['apiVersion'] || '/v1',
|
||||
serverUrl: '',
|
||||
oauth: {
|
||||
enabled: false, // For connecting to Mifos X using OAuth2 Authentication change the value to true
|
||||
serverUrl: ''
|
||||
},
|
||||
defaultLanguage: 'en-US',
|
||||
supportedLanguages: [
|
||||
'en-US',
|
||||
'fr-FR'
|
||||
]
|
||||
defaultLanguage: window['env']['defaultLanguage'] || 'en-US',
|
||||
supportedLanguages: window['env']['supportedLanguages'] || 'en-US,fr-FR'
|
||||
};
|
||||
|
||||
// Server URL
|
||||
|
||||
@@ -8,22 +8,25 @@ import env from './.env';
|
||||
|
||||
export const environment = {
|
||||
production: false,
|
||||
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
|
||||
version: env.mifos_x.version,
|
||||
hash: env.mifos_x.hash,
|
||||
// For connecting to server running elsewhere update the tenant identifier
|
||||
fineractPlatformTenantId: window['env']['fineractPlatformTenantId'] || 'default',
|
||||
// For connecting to others servers running elsewhere update the base API URL
|
||||
baseApiUrls: window['env']['fineractApiUrls'] ||
|
||||
'https://dev.mifos.io,https://demo.mifos.io,https://qa.mifos.io,https://staging.mifos.io,https://mobile.mifos.io,https://demo.fineract.dev,https://localhost:8443',
|
||||
// For connecting to server running elsewhere set the base API URL
|
||||
baseApiUrl: window['env']['baseApiUrl'] || 'https://demo.fineract.dev',
|
||||
allowServerSwitch: env.allow_switching_backend_instance,
|
||||
apiProvider: '/fineract-provider/api',
|
||||
apiVersion: '/v1',
|
||||
apiProvider: window['env']['apiProvider'] || '/fineract-provider/api',
|
||||
apiVersion: window['env']['apiVersion'] || '/v1',
|
||||
serverUrl: '',
|
||||
oauth: {
|
||||
enabled: false, // For connecting to Mifos X using OAuth2 Authentication change the value to true
|
||||
serverUrl: ''
|
||||
},
|
||||
defaultLanguage: 'en-US',
|
||||
supportedLanguages: [
|
||||
'en-US',
|
||||
'fr-FR'
|
||||
]
|
||||
defaultLanguage: window['env']['defaultLanguage'] || 'en-US',
|
||||
supportedLanguages: window['env']['supportedLanguages'] || 'en-US,fr-FR'
|
||||
};
|
||||
|
||||
// Server URL
|
||||
|
||||
Reference in New Issue
Block a user