Fix middleware wildcard route warning

This commit is contained in:
diyaa 2026-07-05 23:36:24 +02:00
parent 15cb55e648
commit 62859c3c64

View File

@ -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}');
} }
} }