aboutsummaryrefslogtreecommitdiffstats
path: root/catalog-ui/src/app/ng2/http-interceptor/index.ts
blob: 57eb2388902ad52c6f5fa2aa9c0b64ebd74b4a66 (plain)
1
2
3
4
5
6
7
import { HTTP_INTERCEPTORS } from '@angular/common/http';
import { HeadersInterceptor } from './headers-interceptor';
import IStateService = angular.ui.IStateService;

export const httpInterceptorProviders = [
    { provide: HTTP_INTERCEPTORS, useClass: HeadersInterceptor, multi: true },
];