From aa9ff6ea24927aab3be45751d999023939ef5be7 Mon Sep 17 00:00:00 2001 From: ISA Date: Fri, 8 Nov 2024 13:58:33 +0100 Subject: [PATCH] Systemzeit debug --- components/modales/SettingsModal.jsx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/components/modales/SettingsModal.jsx b/components/modales/SettingsModal.jsx index 38e0138..a3ef980 100644 --- a/components/modales/SettingsModal.jsx +++ b/components/modales/SettingsModal.jsx @@ -145,6 +145,9 @@ function SettingModal({ showModal, onClose }) { // Time command const timeCommand = `CLK01=${hours}-${minutes}-${seconds}`; + // Log the URLs to the console + console.log(`/CPL?${dateCommand}`); + console.log(`/CPL?${timeCommand}`); // Send the commands to the server using fetch and GET method fetch(`/CPL?${dateCommand}`, { method: "GET" })