Skip to content

Instantly share code, notes, and snippets.

@DuncanFaulkner
Created April 5, 2021 13:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save DuncanFaulkner/ac49478d4f0b786752651ed74b014124 to your computer and use it in GitHub Desktop.
Save DuncanFaulkner/ac49478d4f0b786752651ed74b014124 to your computer and use it in GitHub Desktop.
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