From 24dcebd0d922210b8ef08db9be3ec6a32b5f4a55 Mon Sep 17 00:00:00 2001 From: "D. Berge" Date: Sun, 17 Aug 2025 13:17:00 +0200 Subject: [PATCH] Remove logging statements --- lib/www/server/api/middleware/sequence/get/binary.js | 1 - lib/www/server/lib/binary/bundle.js | 6 ------ 2 files changed, 7 deletions(-) diff --git a/lib/www/server/api/middleware/sequence/get/binary.js b/lib/www/server/api/middleware/sequence/get/binary.js index 9079c19..2df76b8 100644 --- a/lib/www/server/api/middleware/sequence/get/binary.js +++ b/lib/www/server/api/middleware/sequence/get/binary.js @@ -16,7 +16,6 @@ module.exports = async function (req, res, next) { if (json.length) { const data = bundle(json, {type}); - console.log("bundle", data); res.status(200).send(Buffer.from(data)); } else { res.status(404).send(); diff --git a/lib/www/server/lib/binary/bundle.js b/lib/www/server/lib/binary/bundle.js index 7a56055..3ba8f2c 100644 --- a/lib/www/server/lib/binary/bundle.js +++ b/lib/www/server/lib/binary/bundle.js @@ -8,8 +8,6 @@ function bundle (json, opts = {}) { const deltas = []; const values = []; - // console.log("JSON LENGTH", json.length); - // console.log("OPTS", geometries, payload); if (type == 0) { /* Preplot information – sail line points @@ -74,7 +72,6 @@ function bundle (json, opts = {}) { type: Uint16Array }); - console.log("JSON", json[0]); return encode.sequential(json, el => el.line, el => el.point, deltas, values, type) } else if (type == 2) { @@ -222,9 +219,6 @@ function bundle (json, opts = {}) { type: Uint8Array }); - console.log("DELTAS", deltas); - console.log("VALUES", values); - return encode.sequential(json, el => el.sequence, el => el.point, deltas, values, type) } else if (type == 3) { /* Final positions and raw vs final errors: