diff --git a/README.md b/README.md index 18057cdd7..b727bc4ca 100644 --- a/README.md +++ b/README.md @@ -126,7 +126,7 @@ FINERACT_API_URLS Value to set a Fineract server list (environments) to be used, Default value: ``` -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 +https://sandbox.mifos.community,https://demo.mifos.community,https://localhost:8443 ``` ``` diff --git a/docker-compose.yml b/docker-compose.yml index 66a2b75ed..f09dd1ae5 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -15,7 +15,7 @@ services: ports: - '4200:80' environment: - - FINERACT_API_URLS=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 + - FINERACT_API_URLS=https://sandbox.mifos.community,https://demo.mifos.community,https://localhost:8443 - FINERACT_API_URL=https://localhost:8443 - FINERACT_API_PROVIDER=/fineract-provider/api - FINERACT_API_VERSION=/v1 diff --git a/env.sample b/env.sample index 9472e291e..9be37b868 100644 --- a/env.sample +++ b/env.sample @@ -1,6 +1,6 @@ # Fineract URLs list delimited by colon -FINERACT_API_URLS=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 +FINERACT_API_URLS=https://sandbox.mifos.community,https://demo.mifos.community,https://localhost:8443 FINERACT_API_URL=https://localhost:8443 diff --git a/src/environments/environment.prod.ts b/src/environments/environment.prod.ts index 92095803c..c4d911fed 100644 --- a/src/environments/environment.prod.ts +++ b/src/environments/environment.prod.ts @@ -14,7 +14,7 @@ export const environment = { // For connecting to others servers running elsewhere update the base API URL baseApiUrls: loadedEnv['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', + 'https://https://sandbox.mifos.community,https://demo.mifos.community,https://localhost:8443', // For connecting to server running elsewhere set the base API URL baseApiUrl: loadedEnv['fineractApiUrl'] || window.location.protocol + '//' + window.location.hostname, oauthServerUrl: loadedEnv['oauthServerUrl'] || loadedEnv['fineractApiUrl'] + loadedEnv['apiProvider'], diff --git a/src/environments/environment.ts b/src/environments/environment.ts index 473cc18fe..f476e82a8 100644 --- a/src/environments/environment.ts +++ b/src/environments/environment.ts @@ -19,7 +19,7 @@ export const environment = { // For connecting to others servers running elsewhere update the base API URL baseApiUrls: loadedEnv['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,' + + 'https://sandbox.mifos.community,https://demo.mifos.community,https://localhost:8443,' + window.location.protocol + '//' + window.location.hostname +