Revision 60772
Added by Konstantinos Triantafyllou about 3 years ago
app.module.ts | ||
---|---|---|
14 | 14 |
import {BottomModule} from './openaireLibrary/sharedComponents/bottom.module'; |
15 | 15 |
import {ErrorModule} from './openaireLibrary/error/error.module'; |
16 | 16 |
import {NavigationBarModule} from './openaireLibrary/sharedComponents/navigationBar.module'; |
17 |
|
|
18 |
import {EnvironmentSpecificResolver} from './openaireLibrary/utils/properties/environmentSpecificResolver'; |
|
19 |
|
|
20 | 17 |
import {CommunitiesService} from './openaireLibrary/connect/communities/communities.service'; |
21 | 18 |
import {LayoutService} from "./openaireLibrary/services/layout.service"; |
22 | 19 |
import {SubscribeModule} from './utils/subscribe/subscribe.module'; |
... | ... | |
50 | 47 |
BrowserAnimationsModule, |
51 | 48 |
PageURLResolverModule, Schema2jsonldModule, RoleVerificationModule |
52 | 49 |
], |
53 |
declarations: [ AppComponent, OpenaireErrorPageComponent],
|
|
54 |
exports: [ AppComponent ],
|
|
55 |
providers:[ |
|
56 |
EnvironmentSpecificResolver, CommunitiesService, LayoutService, IsCommunity, SubscribeService,
|
|
50 |
declarations: [AppComponent, OpenaireErrorPageComponent], |
|
51 |
exports: [AppComponent],
|
|
52 |
providers: [
|
|
53 |
CommunitiesService, LayoutService, IsCommunity, SubscribeService, |
|
57 | 54 |
{ |
58 | 55 |
provide: HTTP_INTERCEPTORS, |
59 | 56 |
useClass: HttpInterceptorService, |
... | ... | |
64 | 61 |
useClass: ErrorInterceptorService, |
65 | 62 |
multi: true |
66 | 63 |
}, |
67 |
[{ provide: HTTP_INTERCEPTORS, useClass: TimeoutInterceptor, multi: true }],
|
|
68 |
[{ provide: DEFAULT_TIMEOUT, useValue: 30000 }]
|
|
64 |
[{provide: HTTP_INTERCEPTORS, useClass: TimeoutInterceptor, multi: true}],
|
|
65 |
[{provide: DEFAULT_TIMEOUT, useValue: 30000}]
|
|
69 | 66 |
], |
70 | 67 |
bootstrap: [AppComponent] |
71 | 68 |
}) |
72 | 69 |
|
73 |
export class AppModule {} |
|
70 |
export class AppModule { |
|
71 |
} |
Also available in: Unified diff
[Connect | Trunk]: Delete properties resolver. Delete query param community id