dev server urls

This commit is contained in:
Kyle Spearrin 2018-07-30 12:01:24 -04:00
parent f47f100c0b
commit 9552ce4997
1 changed files with 6 additions and 0 deletions

View File

@ -131,6 +131,12 @@ export class Main {
this.storageService.init();
this.containerService.attachToWindow(global);
await this.environmentService.setUrlsFromStorage();
// Dev Server URLs. Comment out the line above.
// this.apiService.setUrls({
// base: null,
// api: 'http://localhost:4000',
// identity: 'http://localhost:33656',
// });
const locale = await this.storageService.get<string>(ConstantsService.localeKey);
await this.i18nService.init(locale);
await this.authService.init();