Skip to content

Commit

Permalink
Update app.module.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
mishraomp authored Sep 3, 2024
1 parent f70e6bc commit 5fdc9ad
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion backend/src/app.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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('*');
}
}

0 comments on commit 5fdc9ad

Please sign in to comment.