main
alex 2024-01-14 14:35:08 +01:00
parent 95be2a1e78
commit c4bb9042f0
1 changed files with 2 additions and 2 deletions

View File

@ -86,11 +86,11 @@ app.use((req, res, next) => {
console.log("req not found, path:", req.path);
res.status(404).send("not found");
});
/*
app.use((err: any, req: any, res: any, next: any) => {
console.log("req err", err.stack);
res.status(500).send({ err: "invalid request" });
}); */
});
syncModels();