mirror of
https://github.com/stonith404/pingvin-share.git
synced 2024-11-15 20:00:33 +01:00
14 lines
413 B
TypeScript
14 lines
413 B
TypeScript
|
import { Module } from "@nestjs/common";
|
||
|
import { JwtModule } from "@nestjs/jwt";
|
||
|
import { AuthController } from "./auth.controller";
|
||
|
import { AuthService } from "./auth.service";
|
||
|
import { JwtStrategy } from "./strategy/jwt.strategy";
|
||
|
|
||
|
@Module({
|
||
|
imports: [JwtModule.register({})],
|
||
|
controllers: [AuthController],
|
||
|
providers: [AuthService, JwtStrategy],
|
||
|
exports: [AuthService],
|
||
|
})
|
||
|
export class AuthModule {}
|