Mocks erstellt für API für Entwicklungsumgebung

This commit is contained in:
ISA
2025-06-20 13:41:07 +02:00
parent 01d292e72f
commit 0388512f51
727 changed files with 3443 additions and 1948994 deletions

View File

@@ -7,7 +7,7 @@ export const fetchAllTDMDataFromServer = async (): Promise<any[]> => {
const slotRequests = Array.from({ length: 32 }, (_, i) => {
const url = isDev
? `/apiMockData/TDM/slot${i}.json` // ✅ Entwicklung: aus public-Ordner
? `/device-cgi-simulator/TDM/slot${i}.json` // ✅ Entwicklung: aus public-Ordner
: `${window.location.origin}/CPL?Service/empty.acp&TDM=${i}`; // ✅ Produktion
return fetch(url)