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