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 4, 2024
1 parent 73e2875 commit 7e16d86
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions backend/src/app.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ import {MiddlewareConsumer, Module, RequestMethod} from "@nestjs/common";
import {HTTPLoggerMiddleware} from "./middleware/req.res.logger";
import {ConfigModule} from "@nestjs/config";
import {AppService} from "./app.service";
import {AppController} from "./app.controller";
import {MetricsController} from "./metrics.controller";
import {AppController} from "./app.controller";
import {TerminusModule} from '@nestjs/terminus';
import {RedisModule} from "./redis/redis.module";

Expand All @@ -14,7 +14,7 @@ import {RedisModule} from "./redis/redis.module";
TerminusModule,
RedisModule
],
controllers: [AppController, MetricsController],
controllers: [MetricsController, AppController],
providers: [AppService]
})
export class AppModule { // let's add a middleware on all routes
Expand Down

0 comments on commit 7e16d86

Please sign in to comment.