mirror of
https://github.com/gnmyt/myspeed.git
synced 2026-01-07 05:29:39 -06:00
Removed additional debug information from the nodes route
This commit is contained in:
@@ -50,8 +50,8 @@ app.get("/:nodeId/*", async (req, res) => {
|
||||
body: req.method === "GET" ? undefined : req.body
|
||||
}).then(async api => {
|
||||
res.status(api.status).json(await api.json());
|
||||
}).catch(err => {
|
||||
res.status(500).json({message: "Internal server error", err});
|
||||
}).catch(() => {
|
||||
res.status(500).json({message: "Internal server error"});
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user