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" })