fix: link in console

This commit is contained in:
ISA
2025-08-01 12:10:12 +02:00
parent 3098ce67f0
commit 0b7542488e
12 changed files with 49 additions and 54 deletions

View File

@@ -26,6 +26,7 @@ export const fetchSystemspannung15VminusService = async (
? `/api/cpl/getSystemspannung15VminusHandler?typ=${type}`
: `/CPL?seite.ACP&${type}=${fromParts.y};${fromParts.m};${fromParts.d};${toParts.y};${toParts.m};${toParts.d};${channel};1`;
console.log("[Service] fetchSystemspannung15VminusService", path);
const res = await fetch(path);
if (!res.ok) throw new Error("❌ Fehler beim Abrufen der -15V-Daten");

View File

@@ -27,6 +27,7 @@ export const fetchSystemspannung15VplusService = async (
? `/api/cpl/getSystemspannung15VplusHandler?typ=${type}`
: `/CPL?seite.ACP&${type}=${fromParts.y};${fromParts.m};${fromParts.d};${toParts.y};${toParts.m};${toParts.d};${channel};1`;
console.log("[Service] fetchSystemspannung15VplusService", path);
const res = await fetch(path);
if (!res.ok) throw new Error("❌ Fehler beim Abrufen der +15V-Daten");

View File

@@ -28,6 +28,7 @@ export const fetchSystemspannung5VplusService = async (
? `/api/cpl/getSystemspannung5VplusHandler?typ=${type}`
: `/CPL?seite.ACP&${type}=${fromParts.y};${fromParts.m};${fromParts.d};${toParts.y};${toParts.m};${toParts.d};${channel};1`;
console.log("[Service] fetchSystemspannung5VplusService", path);
const res = await fetch(path);
if (!res.ok) throw new Error("❌ Fehler beim Abrufen der +5V-Daten");

View File

@@ -26,6 +26,7 @@ export const fetchSystemspannung98VminusService = async (
? `/api/cpl/getSystemspannung98VminusHandler?typ=${type}`
: `/CPL?seite.ACP&${type}=${fromParts.y};${fromParts.m};${fromParts.d};${toParts.y};${toParts.m};${toParts.d};${channel};1`;
console.log("[Service] fetchSystemspannung98VminusService", path);
const res = await fetch(path);
if (!res.ok) throw new Error("❌ Fehler beim Abrufen der -98V-Daten");

View File

@@ -26,6 +26,7 @@ export const fetchTemperaturAdWandlerService = async (
? `/api/cpl/getTemperaturAdWandlerHandler?typ=${type}`
: `/CPL?seite.ACP&${type}=${fromParts.y};${fromParts.m};${fromParts.d};${toParts.y};${toParts.m};${toParts.d};${channel};1`;
console.log("[Service] fetchTemperaturAdWandlerService", path);
const res = await fetch(path);
if (!res.ok)
throw new Error(

View File

@@ -26,6 +26,7 @@ export const fetchTemperaturProzessorService = async (
? `/api/cpl/getTemperaturProzessorHandler?typ=${type}`
: `/CPL?seite.ACP&${type}=${fromParts.y};${fromParts.m};${fromParts.d};${toParts.y};${toParts.m};${toParts.d};${channel};1`;
console.log("[Service] fetchTemperaturProzessorService", path);
const res = await fetch(path);
if (!res.ok)
throw new Error("❌ Fehler beim Abrufen der Temperaturdaten (Prozessor)");