Skip to content

Commit

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

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

app.use(notFoundHandler);
Expand Down

0 comments on commit 3aff3e4

Please sign in to comment.