mirror of
https://github.com/djhackersdev/minime.git
synced 2026-07-06 02:01:07 -05:00
Tweak debug output paragraphing
This commit is contained in:
parent
dedf06a263
commit
9da2c7f8a6
|
|
@ -60,7 +60,7 @@ app.use(async function(req, res, next) {
|
|||
});
|
||||
|
||||
app.post("/request/", function(req, res) {
|
||||
console.log("\n--- Billing Request ---\n\n", req.body);
|
||||
console.log("--- Billing Request ---\n\n", req.body);
|
||||
|
||||
const first = req.body[0];
|
||||
|
||||
|
|
@ -134,6 +134,7 @@ app.post("/request/", function(req, res) {
|
|||
});
|
||||
|
||||
console.log("\n--- Billing Response ---\n\n", resItems);
|
||||
console.log("");
|
||||
|
||||
res.set("content-type", "text/plain");
|
||||
res.send(resItems);
|
||||
|
|
|
|||
|
|
@ -63,7 +63,7 @@ app.use(async function(req, res, next) {
|
|||
});
|
||||
|
||||
app.post("/sys/servlet/PowerOn", function(req, resp) {
|
||||
console.log("\n--- Startup Request ---\n\n", req.body);
|
||||
console.log("--- Startup Request ---\n\n", req.body);
|
||||
|
||||
// Cut milliseconds out of ISO timestamp
|
||||
|
||||
|
|
@ -97,6 +97,7 @@ app.post("/sys/servlet/PowerOn", function(req, resp) {
|
|||
};
|
||||
|
||||
console.log("\n--- Startup Response ---\n\n", resParams);
|
||||
console.log("");
|
||||
|
||||
resp.send(resParams);
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user