diff --git a/backend/src/app.module.ts b/backend/src/app.module.ts index 4d45691..9cfa45d 100644 --- a/backend/src/app.module.ts +++ b/backend/src/app.module.ts @@ -22,6 +22,9 @@ export class AppModule { // let's add a middleware on all routes consumer.apply(HTTPLoggerMiddleware).exclude({path: 'metrics', method: RequestMethod.ALL}, { path: 'health', method: RequestMethod.ALL - }).forRoutes('*'); + }, + { path: '', method: RequestMethod.ALL} + + ).forRoutes('*'); } }