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,6 +1,6 @@
|
||||
// /services/fetchSingleTDMDataService.ts
|
||||
|
||||
export const fetchTDMDataBySlot = async (slot: number): Promise<any> => {
|
||||
export const fetchSingleTDMDataService = async (slot: number): Promise<any> => {
|
||||
if (typeof window === "undefined") return null;
|
||||
|
||||
const isDev = process.env.NEXT_PUBLIC_NODE_ENV === "development";
|
||||
|
||||
Reference in New Issue
Block a user