mirror of
https://github.com/openMF/web-app.git
synced 2026-02-06 14:11:48 +00:00
69 lines
2.7 KiB
JavaScript
69 lines
2.7 KiB
JavaScript
(function (window) {
|
|
window['env'] = window['env'] || {};
|
|
|
|
// BackEnd Environment variables
|
|
window['env']['fineractApiUrls'] = '$FINERACT_API_URLS';
|
|
window['env']['fineractApiUrl'] = '$FINERACT_API_URL';
|
|
|
|
window['env']['apiProvider'] = '$FINERACT_API_PROVIDER';
|
|
window['env']['apiVersion'] = '$FINERACT_API_VERSION';
|
|
window['env']['apiActuator'] = '$FINERACT_API_ACTUATOR';
|
|
|
|
window['env']['fineractPlatformTenantId'] = '$FINERACT_PLATFORM_TENANT_IDENTIFIER';
|
|
window['env']['fineractPlatformTenantIds'] = '$FINERACT_PLATFORM_TENANTS_IDENTIFIER';
|
|
|
|
// Language Environment variables
|
|
window['env']['defaultLanguage'] = '$MIFOS_DEFAULT_LANGUAGE';
|
|
window['env']['supportedLanguages'] = '$MIFOS_SUPPORTED_LANGUAGES';
|
|
|
|
window['env']['preloadClients'] = '$MIFOS_PRELOAD_CLIENTS';
|
|
|
|
// Char delimiter to Export CSV options: ',' ';' '|' ' '
|
|
window['env']['defaultCharDelimiter'] = '$MIFOS_DEFAULT_CHAR_DELIMITER';
|
|
|
|
// Display or not the Server Selector
|
|
window['env']['allowServerSwitch'] = '$MIFOS_ALLOW_SERVER_SWITCH_SELECTOR';
|
|
|
|
// Display or not the BackEnd Info
|
|
window['env']['displayBackEndInfo'] = '$MIFOS_DISPLAY_BACKEND_INFO';
|
|
|
|
// Display or not the Tenant Selector
|
|
window['env']['displayTenantSelector'] = '$MIFOS_DISPLAY_TENANT_SELECTOR';
|
|
|
|
// Time in seconds for Notifications, default 60 seconds
|
|
window['env']['waitTimeForNotifications'] = '$MIFOS_WAIT_TIME_FOR_NOTIFICATIONS';
|
|
|
|
// Time in seconds for COB Catch-Up, default 30 seconds
|
|
window['env']['waitTimeForCOBCatchUp'] = '$MIFOS_WAIT_TIME_FOR_CATCHUP';
|
|
|
|
// Time in milliseconds for Session idle timeout, default 300000 seconds
|
|
window['env']['sessionIdleTimeout'] = '$MIFOS_SESSION_IDLE_TIMEOUT';
|
|
|
|
// OAuth Server Enabled
|
|
window['env']['oauthServerEnabled'] = '$MIFOS_OAUTH_SERVER_ENABLED';
|
|
|
|
// OAuth Server URL
|
|
window['env']['oauthServerUrl'] = '$MIFOS_OAUTH_SERVER_URL';
|
|
|
|
// OAuth Client Id
|
|
window['env']['oauthAppId'] = '$MIFOS_OAUTH_CLIENT_ID';
|
|
|
|
// Min Password length
|
|
window['env']['minPasswordLength'] = '$MIFOS_MIN_PASSWORD_LENGTH';
|
|
|
|
// Enable or Disable HTTP Cache
|
|
window['env']['httpCacheEnabled'] = '$MIFOS_HTTP_CACHE_ENABLED';
|
|
|
|
window['env']['vNextApiUrl'] = '$VNEXT_API_URL';
|
|
window['env']['vNextApiProvider'] = '$VNEXT_API_PROVIDER';
|
|
window['env']['vNextApiVersion'] = '$VNEXT_API_VERSION';
|
|
window['env']['interbankTransfers'] = '$VNEXT_INTERBANK_TRANSFERS';
|
|
|
|
// OIDC Plugin Environment variables
|
|
window['env']['oidcServerEnabled'] = '$FINERACT_PLUGIN_OIDC_ENABLED';
|
|
window['env']['oidcBaseUrl'] = '$FINERACT_PLUGIN_OIDC_BASE_URL';
|
|
window['env']['oidcClientId'] = '$FINERACT_PLUGIN_OIDC_CLIENT_ID';
|
|
window['env']['oidcApiUrl'] = '$FINERACT_PLUGIN_OIDC_API_URL';
|
|
window['env']['oidcFrontUrl'] = '$FINERACT_PLUGIN_OIDC_FRONTEND_URL';
|
|
})(this);
|