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