mirror of
https://github.com/tdurieux/anonymous_github.git
synced 2026-05-26 02:47:47 +02:00
fix: fix healthcheck
This commit is contained in:
@@ -16,6 +16,10 @@ app.use(compression());
|
||||
|
||||
app.use("/api", router);
|
||||
|
||||
app.get("/healthcheck", async (_, res) => {
|
||||
res.json({ status: "ok" });
|
||||
});
|
||||
|
||||
app.all("*", (req, res) => {
|
||||
handleError(
|
||||
new AnonymousError("file_not_found", {
|
||||
|
||||
Reference in New Issue
Block a user