fix: API Endpoint in fetchOpcUaSettingsService für Development korrigiert
- falsches .js im API Pfad entfernt - Development lädt jetzt korrekt /api/cpl/opcuaAPIHandler - Production bleibt unverändert
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
// ✅ Service: /services/fetchKueDataService.ts
|
||||
|
||||
const devScriptPath = "/CPLmockData/SERVICE/kueData.js";
|
||||
const devScriptPath = "/api/cpl/kabelueberwachungAPIHandler";
|
||||
const prodScriptPath = "/CPL?/CPL/SERVICE/kueData.js";
|
||||
|
||||
export const fetchKueData = async () => {
|
||||
export const fetchKueDataService = async () => {
|
||||
try {
|
||||
if (typeof window === "undefined") return null;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user