Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- export class ApplicationModule implements NestModule {
- configure(consumer: MiddlewaresConsumer): void {
- consumer.apply(FrontendMiddleware).forRoutes(
- {
- path: '/**', // For all routes
- method: RequestMethod.ALL, // For all methods
- },
- );
- }
- }
Add Comment
Please, Sign In to add comment