Last active
February 16, 2021 19:50
-
-
Save jsinglet/df46a7a9f2190e945ac2ce5acd2e65d4 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { NgModule } from "@angular/core"; | |
import { CookieModule } from "ngx-cookie"; | |
import { CommonModule } from "@angular/common"; | |
import { HTTP_INTERCEPTORS } from "@angular/common/http"; | |
import { TenantInterceptor } from "./tenant.interceptor"; | |
@NgModule({ | |
declarations: [], | |
imports: [CommonModule], | |
providers: [ | |
{ | |
provide: HTTP_INTERCEPTORS, | |
useClass: TenantInterceptor, | |
multi: true | |
} | |
] | |
}) | |
export class TenantModule {} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment