Nestjs Forroutes Middlewarwe
export class AppModule implements NestModule {
configure(consumer: MiddlewareConsumer) {
consumer
.apply(LoggerMiddleware)
.forRoutes('cats', 'dogs');
}
}
Restu Wahyu Saputra