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,4 +1,4 @@
|
||||
// /pages/api/cpl/opcuaSettingsAPIHandler.ts
|
||||
// /pages/api/cpl/opcuaAPIHandler.ts
|
||||
|
||||
import { NextApiRequest, NextApiResponse } from "next";
|
||||
import path from "path";
|
||||
@@ -21,8 +21,7 @@ export default async function handler(
|
||||
|
||||
const jsonFilePath = path.join(
|
||||
process.cwd(),
|
||||
"public",
|
||||
"CPLmockData",
|
||||
"apiMockData",
|
||||
"kuesChartData",
|
||||
`slot${slot}`,
|
||||
`${messart}`,
|
||||
|
||||
Reference in New Issue
Block a user