Skip to content

Instantly share code, notes, and snippets.

@DuncanFaulkner

DuncanFaulkner/ssr-3.ts Secret

Created Apr 5, 2021
Embed
What would you like to do?
ssr-3
import {HTTP_INTERCEPTORS} from '@angular/common/http';
import {UniversalInterceptor} from './universal-interceptor';
@NgModule({
...
providers: [{
provide: HTTP_INTERCEPTORS,
useClass: UniversalInterceptor,
multi: true
}],
})
export class AppServerModule {}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment