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();