diff --git a/.env.development b/.env.development index e77e26e..57df308 100644 --- a/.env.development +++ b/.env.development @@ -6,6 +6,6 @@ NEXT_PUBLIC_USE_MOCK_BACKEND_LOOP_START=false NEXT_PUBLIC_EXPORT_STATIC=false NEXT_PUBLIC_USE_CGI=false # App-Versionsnummer -NEXT_PUBLIC_APP_VERSION=1.6.734 +NEXT_PUBLIC_APP_VERSION=1.6.735 NEXT_PUBLIC_CPL_MODE=json # json (Entwicklungsumgebung) oder jsSimulatedProd (CPL ->CGI-Interface-Simulator) oder production (CPL-> CGI-Interface Platzhalter) diff --git a/.env.production b/.env.production index e2b37b7..b316a19 100644 --- a/.env.production +++ b/.env.production @@ -5,5 +5,5 @@ NEXT_PUBLIC_CPL_API_PATH=/CPL NEXT_PUBLIC_EXPORT_STATIC=true NEXT_PUBLIC_USE_CGI=true # App-Versionsnummer -NEXT_PUBLIC_APP_VERSION=1.6.734 +NEXT_PUBLIC_APP_VERSION=1.6.735 NEXT_PUBLIC_CPL_MODE=production \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index 162f607..5d5b0af 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,12 @@ +## [1.6.735] – 2025-08-18 + +- 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 + +--- ## [1.6.734] – 2025-08-18 - WIP: Playwright test diff --git a/components/header/settingsModal/handlers/handleClearDatabase.ts b/components/header/settingsModal/handlers/handleClearDatabase.ts index 6c9588b..fa6894a 100644 --- a/components/header/settingsModal/handlers/handleClearDatabase.ts +++ b/components/header/settingsModal/handlers/handleClearDatabase.ts @@ -12,7 +12,7 @@ const handleClearDatabase = async () => { } // Full URL with host, current path, and clear database command - const url = `${window.location.origin}/CPL?${currentPath}&DEDB=1`; + const url = `${window.location.origin}/CPL?/${window.location.pathname}&DEDB=1`; // Log the full URL to the console for debugging console.log(url); diff --git a/components/main/kabelueberwachung/kue705FO/Charts/TDRChart/TDRChartActionBar.tsx b/components/main/kabelueberwachung/kue705FO/Charts/TDRChart/TDRChartActionBar.tsx index d3389ef..184e6b2 100644 --- a/components/main/kabelueberwachung/kue705FO/Charts/TDRChart/TDRChartActionBar.tsx +++ b/components/main/kabelueberwachung/kue705FO/Charts/TDRChart/TDRChartActionBar.tsx @@ -53,7 +53,7 @@ const TDRChartActionBar: React.FC = () => { }), }); } else { - const url = `/CPL?KTR${slotNumber}=${selectedId}`; + const url = `/CPL?/${window.location.pathname}&KTR${slotNumber}=${selectedId}`; await fetch(url, { method: "GET" }); } if (!isDev) { @@ -89,7 +89,7 @@ const TDRChartActionBar: React.FC = () => { return; } - const cgiUrl = `${window.location.origin}/CPL?kabelueberwachung.html&KTT${selectedSlot}=1`; + const cgiUrl = `${window.location.origin}/CPL?/${window.location.pathname}&KTT${selectedSlot}=1`; try { console.log("🚀 Starte TDR Messung für Slot:", selectedSlot); diff --git a/package-lock.json b/package-lock.json index d6cb666..b093bed 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "cpl-v4", - "version": "1.6.734", + "version": "1.6.735", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "cpl-v4", - "version": "1.6.734", + "version": "1.6.735", "dependencies": { "@fontsource/roboto": "^5.1.0", "@headlessui/react": "^2.2.4", diff --git a/package.json b/package.json index 2c37fd3..caa4d05 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "cpl-v4", - "version": "1.6.734", + "version": "1.6.735", "private": true, "scripts": { "dev": "next dev",