Mocks erstellt für API für Entwicklungsumgebung
This commit is contained in:
@@ -15,7 +15,7 @@ export default async function handler(
|
||||
|
||||
const filePath = path.join(
|
||||
process.cwd(),
|
||||
"apiMockData/meldungen/messages.json"
|
||||
"mocks/device-cgi-simulator/meldungen/messages.json"
|
||||
);
|
||||
const fileContents = await fs.readFile(filePath, "utf-8");
|
||||
const data = JSON.parse(fileContents);
|
||||
|
||||
Reference in New Issue
Block a user