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 {
|
configure(consumer: MiddlewareConsumer): void {
|
||||||
consumer
|
consumer
|
||||||
.apply(RequestContextMiddleware, ProtectedDeviceAuthMiddleware)
|
.apply(RequestContextMiddleware, ProtectedDeviceAuthMiddleware)
|
||||||
.forRoutes('*');
|
.forRoutes('{*path}');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user