Created
June 19, 2020 11:24
-
-
Save jacobdo2/ce040224d0d206c92defba111c5d9ed9 to your computer and use it in GitHub Desktop.
This file contains hidden or 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 { Module } from '@nestjs/common'; | |
import { AuthService } from './auth.service'; | |
import { AuthController } from './auth.controller'; | |
import { AuthConfig } from './auth.config'; | |
import { PassportModule } from '@nestjs/passport'; | |
@Module({ | |
imports: [PassportModule.register({ defaultStrategy: 'jwt' })], | |
providers: [AuthConfig, AuthService], | |
controllers: [AuthController], | |
}) | |
export class AuthModule {} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment