fix(healthcheck): fixed /health route response status

This commit is contained in:
Ritesh Ghosh
2023-08-19 22:49:04 +05:30
parent 3aff3e4a7d
commit 5f2759baf6
+1 -1
View File
@@ -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);