ResMan update

This commit is contained in:
ecki
2026-03-09 18:20:41 +01:00
parent a244225887
commit 2b82941b44
3 changed files with 38 additions and 36 deletions
+4 -6
View File
@@ -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");
});