Skip to content

Commit

Permalink
fix(healthcheck): fixed /health route response status
Browse files Browse the repository at this point in the history
  • Loading branch information
ghoshRitesh12 committed Aug 19, 2023
1 parent 3aff3e4 commit 5f2759b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ app.use(morgan("dev"));
app.use(ratelimit);

app.use(express.static(resolve(__dirname, "..", "public")));
app.get("/health", (_, res) => res.sendStatus(400));
app.get("/health", (_, res) => res.sendStatus(200));
app.use("/anime", animeRouter);

app.use(notFoundHandler);
Expand Down

0 comments on commit 5f2759b

Please sign in to comment.