NestJS - Middleware
Which of the following is the correct syntax to apply a middleware named
LoggerMiddleware to all routes in a NestJS module?LoggerMiddleware to all routes in a NestJS module?consumer.apply(...).forRoutes(...).'/' applies middleware to all routes; '*' is invalid.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions