NestJS · Middle · Question 60 of 75

How do you exclude some routes from a middleware?

Explanation

forRoutes accepts paths, controllers or route info objects.

Further reading

Problem with a question

NestJS · Middle · question 60

Test yourself

Take the NestJS · Middle quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz