Mocks erstellt für API für Entwicklungsumgebung
This commit is contained in:
@@ -4,7 +4,7 @@ export const fetchAllTDRChartDataFromServer = async (): Promise<any[]> => {
|
||||
const isDev = process.env.NEXT_PUBLIC_NODE_ENV === "development";
|
||||
|
||||
const basePath = isDev
|
||||
? "/apiMockData/LastTDR/jsonDatei"
|
||||
? "/device-cgi-simulator/LastTDR/jsonDatei"
|
||||
: "/CPL?/CPL/LastTDR";
|
||||
|
||||
const fileNames = Array.from({ length: 32 }, (_, i) => `slot${i}.json`);
|
||||
|
||||
Reference in New Issue
Block a user