[ADF-1544] app config file management refactoring (#2331)

* application configuration service refactoring

* fix demo shell

* remove logging to console
This commit is contained in:
Denys Vuika
2017-09-14 10:06:40 +01:00
committed by Eugenio Romano
parent d9bd59833c
commit e96f6aa481
25 changed files with 136 additions and 404 deletions

View File

@@ -70,18 +70,11 @@ import {
WebscriptComponent
} from './components/index';
let appConfigFile = 'app.config-dev.json';
if (process.env.ENV === 'production') {
appConfigFile = 'app.config-prod.json';
}
@NgModule({
imports: [
BrowserModule,
routing,
CoreModule.forRoot({
appConfigFile: appConfigFile
}),
CoreModule,
MaterialModule,
LoginModule.forRoot(),
SearchModule.forRoot(),