8 lines
322 B
TypeScript
8 lines
322 B
TypeScript
|
/* "Barrel" of Http Interceptors */
|
||
|
import { HTTP_INTERCEPTORS } from '@angular/common/http';
|
||
|
import { CSRFInterceptor } from './csrf-intercepor';
|
||
|
|
||
|
/** Http interceptor providers in outside-in order */
|
||
|
export const httpInterceptorProviders = [
|
||
|
{ provide: HTTP_INTERCEPTORS, useClass: CSRFInterceptor, multi: true },
|
||
|
];
|