From 5fdc9addd26196a60c81a1cc24d70315a4928236 Mon Sep 17 00:00:00 2001 From: Om Mishra <32200996+mishraomp@users.noreply.github.com> Date: Mon, 2 Sep 2024 21:05:29 -0700 Subject: [PATCH] Update app.module.ts --- backend/src/app.module.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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('*'); } }