fix: link in console
This commit is contained in:
@@ -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");
|
||||
|
||||
|
||||
@@ -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");
|
||||
|
||||
|
||||
@@ -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");
|
||||
|
||||
|
||||
@@ -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");
|
||||
|
||||
|
||||
@@ -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(
|
||||
|
||||
@@ -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)");
|
||||
|
||||
Reference in New Issue
Block a user