feat: add support for runtime server url changes (#1271)
Fixes: #786 Fixes: #1229
This commit is contained in:
@@ -146,6 +146,16 @@ export class WebAppComponent implements OnInit {
|
||||
if (!localStorage.getItem('mifosXDateFormat')) {
|
||||
this.settingsService.setDateFormat('dd MMMM yyyy');
|
||||
}
|
||||
if (!localStorage.getItem('mifosXServers')) {
|
||||
this.settingsService.setServers([
|
||||
'https://dev.mifos.io',
|
||||
'https://demo.mifos.io',
|
||||
'https://staging.mifos.io',
|
||||
'https://mobile.mifos.io',
|
||||
'https://demo.fineract.dev',
|
||||
'https://localhost:8443'
|
||||
]);
|
||||
}
|
||||
}
|
||||
|
||||
logout() {
|
||||
|
||||
Reference in New Issue
Block a user