From cd35fa7033b6e4dc183c41fd5c4b7ddb6c663c15 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Dietrich?= Date: Wed, 18 Oct 2023 08:42:03 +0200 Subject: [PATCH] upgrade message sending to post instead of get --- server/data_web.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/data_web.ts b/server/data_web.ts index 85dab53..8e72d4c 100644 --- a/server/data_web.ts +++ b/server/data_web.ts @@ -580,8 +580,8 @@ function sendMessage(class_id: string, message: data.LiveMessage): boolean { const info = JSON.stringify(message) - log.debug( - `Message to be sent (${class_id}) => ${ + log.info( + `Message to be broadcast (${class_id}) => ${ info.length > 100 ? `${info.slice(0, 100)}...` : info }` )