WIP: Refernzkurve wird angezeigt, aber kann nicht gesetzt werden

This commit is contained in:
Ismail Ali
2025-04-15 18:58:20 +02:00
parent 58577daf75
commit 9e8028ac16
3 changed files with 27 additions and 2 deletions

View File

@@ -13,7 +13,7 @@ export const fetchTDRReferenceCurveService = async (
// 🔁 Fallback: Datei oder Produktion-API
const isDev = process.env.NEXT_PUBLIC_NODE_ENV === "development";
const url = isDev
? `/api/cpl/tdr-reference-curves/slot${slot}.json`
? `/api/cpl/tdrReferenceCurveAPIHandler?slot=${slot}`
: `${window.location.origin}/CPL?Service/empty.acp&TDR=${slot}`;
try {