diff --git a/components/modales/SettingsModal.jsx b/components/modales/SettingsModal.jsx index 04ac0f2..a9eb28e 100644 --- a/components/modales/SettingsModal.jsx +++ b/components/modales/SettingsModal.jsx @@ -45,7 +45,7 @@ function SettingModal({ showModal, onClose }) { if ( window.confirm("Sind Sie sicher, dass Sie den CPL neu starten möchten?") ) { - fetch(`CPL?KUEdetail.ACP&BOOT=1`, { method: "GET" }).finally(() => { + fetch(`CPL?index.html&BOOT=1`, { method: "GET" }).finally(() => { window.location.href = `/wait`; //auf Client-Seite }); } @@ -55,7 +55,7 @@ function SettingModal({ showModal, onClose }) { if ( window.confirm("Sind Sie sicher, dass Sie die Datenbank leeren möchten?") ) { - const clearDbUrl = `CPL?KUEdetail.ACP&DEDB=1`; + const clearDbUrl = `CPL?index.html&DEDB=1`; fetch(clearDbUrl) .then((response) => { @@ -106,7 +106,7 @@ function SettingModal({ showModal, onClose }) { // Falls Änderungen vorhanden sind, sende die neuen Daten if (Object.keys(changes).length > 0) { - let url = `CPL?KUEdetail.ACP`; + let url = `CPL?index.html`; Object.keys(changes).forEach((paramKey) => { url += `&${paramKey}=${encodeURIComponent(changes[paramKey])}`; diff --git a/components/modules/Kue705FO.jsx b/components/modules/Kue705FO.jsx index f839678..a895658 100644 --- a/components/modules/Kue705FO.jsx +++ b/components/modules/Kue705FO.jsx @@ -99,7 +99,8 @@ function Kue705FO({ setLoading(true); // Setze den Ladezustand auf true alert(`Schleifenmessung wird für Slot ${slot + 1} gestartet...`); - fetch(`/CPL?Service/KUEdetail.HTML&KS_${slotFormat}=1&slot=${slot}`, { + //fetch(`/CPL?Service/KUEdetail.HTML&KS_${slotFormat}=1&slot=${slot}`, { + fetch(`/CPL?index.html&KS_${slotFormat}=1&slot=${slot}`, { method: "GET", }) .then((response) => { diff --git a/pages/kabelueberwachung.js b/pages/kabelueberwachung.js index 8711f1b..813b206 100644 --- a/pages/kabelueberwachung.js +++ b/pages/kabelueberwachung.js @@ -94,7 +94,6 @@ function Kabelueberwachung() { return (