Fix middleware wildcard route warning
This commit is contained in:
parent
15cb55e648
commit
62859c3c64
@ -41,6 +41,6 @@ export class AuthModule implements NestModule {
|
||||
configure(consumer: MiddlewareConsumer): void {
|
||||
consumer
|
||||
.apply(RequestContextMiddleware, ProtectedDeviceAuthMiddleware)
|
||||
.forRoutes('*');
|
||||
.forRoutes('{*path}');
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user