From e7025778aa96a64d8f10bb4af3ab361c775e27ac Mon Sep 17 00:00:00 2001 From: alex Date: Sun, 14 Jan 2024 11:59:12 +0100 Subject: [PATCH] req --- server.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server.ts b/server.ts index 9359a85..07f0544 100644 --- a/server.ts +++ b/server.ts @@ -87,11 +87,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();