fix: Kabelüberwachung Konfiguration sichern und zurücksetzen
es muss so sein https://10.10.0.118/CPL?/kabelueberwachung.html&KSB00=1 und nicht so https://10.10.0.118/CPL?KSB00=1
This commit is contained in:
@@ -256,7 +256,11 @@ export default function KueEinstellung({
|
||||
<button
|
||||
onClick={async () => {
|
||||
try {
|
||||
await fetch(`/CPL?KSB${slot.toString().padStart(2, "0")}=1`);
|
||||
await fetch(
|
||||
`/CPL?kabelueberwachung.html&KSB${slot
|
||||
.toString()
|
||||
.padStart(2, "0")}=1`
|
||||
);
|
||||
toast.success("✅ Konfiguration gesichert.");
|
||||
} catch (err) {
|
||||
console.error("KSB Fehler", err);
|
||||
@@ -272,7 +276,11 @@ export default function KueEinstellung({
|
||||
<button
|
||||
onClick={async () => {
|
||||
try {
|
||||
await fetch(`/CPL?KSR${slot.toString().padStart(2, "0")}=1`);
|
||||
await fetch(
|
||||
`/CPL?kabelueberwachung.html&KSR${slot
|
||||
.toString()
|
||||
.padStart(2, "0")}=1`
|
||||
);
|
||||
toast.success("✅ Konfiguration wiederhergestellt.");
|
||||
} catch (err) {
|
||||
console.error("KSR Fehler", err);
|
||||
|
||||
Reference in New Issue
Block a user