ResMan update
This commit is contained in:
+4
-6
@@ -47,15 +47,13 @@ app.use("/resman/api/ipcheck", ipCheck)
|
||||
|
||||
app.use((err, req, res, next) => {
|
||||
|
||||
console.error("EXPRESS ERROR:");
|
||||
console.error(err);
|
||||
console.error("EXPRESS ERROR:", err)
|
||||
|
||||
res.status(500).json({
|
||||
error: "Internal Server Error"
|
||||
});
|
||||
|
||||
});
|
||||
error: err.message || "Internal Server Error"
|
||||
})
|
||||
|
||||
})
|
||||
app.listen(3000, () => {
|
||||
console.log("ResMan running on port 3000");
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user