From 62859c3c645d552d5133b9980d235acec79ab5f8 Mon Sep 17 00:00:00 2001 From: diyaa Date: Sun, 5 Jul 2026 23:36:24 +0200 Subject: [PATCH] Fix middleware wildcard route warning --- backend/src/modules/auth/auth.module.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/src/modules/auth/auth.module.ts b/backend/src/modules/auth/auth.module.ts index 719afd1..ea63564 100644 --- a/backend/src/modules/auth/auth.module.ts +++ b/backend/src/modules/auth/auth.module.ts @@ -41,6 +41,6 @@ export class AuthModule implements NestModule { configure(consumer: MiddlewareConsumer): void { consumer .apply(RequestContextMiddleware, ProtectedDeviceAuthMiddleware) - .forRoutes('*'); + .forRoutes('{*path}'); } }