WEB-313 Fix server selector (#2656)

Co-authored-by: Soporte <soporte@MacBook-Pro-de-Fintecheando.local>
This commit is contained in:
EmanuelCR03
2025-09-17 01:47:40 -06:00
committed by GitHub
co-authored by Soporte
parent 5e7fb6743d
commit 87f1639768
7 changed files with 14 additions and 8 deletions
+1 -2
View File
@@ -4,7 +4,6 @@ export default {
'mifos_x': {
'version': '250828',
'hash': 'b92f79e2'
},
'allow_switching_backend_instance': true
}
};
/* tslint:enable */
+1 -1
View File
@@ -20,7 +20,7 @@ export const environment = {
loadedEnv['fineractApiUrl'] ||
(loadedEnv['fineractApiUrls']?.length > 0 ? loadedEnv['fineractApiUrls'].split(',')[0] : window.location.origin),
oauthServerUrl: loadedEnv['oauthServerUrl'] || loadedEnv['fineractApiUrl'] + loadedEnv['apiProvider'],
allowServerSwitch: env.allow_switching_backend_instance,
allowServerSwitch: loadedEnv.allowServerSwitch || 'true',
apiProvider: loadedEnv['apiProvider'] || '/fineract-provider/api',
apiVersion: loadedEnv['apiVersion'] || '/v1',
serverUrl: '',
+1 -1
View File
@@ -24,7 +24,7 @@ export const environment = {
baseApiUrl:
loadedEnv.fineractApiUrl ||
(loadedEnv.fineractApiUrls?.length > 0 ? loadedEnv.fineractApiUrls.split(',')[0] : window.location.origin),
allowServerSwitch: env.allow_switching_backend_instance,
allowServerSwitch: loadedEnv.allowServerSwitch || 'true',
apiProvider: loadedEnv.apiProvider || '/fineract-provider/api',
apiVersion: loadedEnv.apiVersion || '/v1',
serverUrl: '',