Systemzeit debug

This commit is contained in:
ISA
2024-11-08 13:58:33 +01:00
parent 000cd74ea1
commit aa9ff6ea24

View File

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