Systemzeit debug
This commit is contained in:
@@ -145,6 +145,9 @@ function SettingModal({ showModal, onClose }) {
|
|||||||
|
|
||||||
// Time command
|
// Time command
|
||||||
const timeCommand = `CLK01=${hours}-${minutes}-${seconds}`;
|
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
|
// Send the commands to the server using fetch and GET method
|
||||||
fetch(`/CPL?${dateCommand}`, { method: "GET" })
|
fetch(`/CPL?${dateCommand}`, { method: "GET" })
|
||||||
|
|||||||
Reference in New Issue
Block a user