rename mockData to CPLmockData

This commit is contained in:
ISA
2024-10-26 11:16:11 +02:00
parent df5b8395e1
commit 8b0f9fe446
74 changed files with 5 additions and 5 deletions

View File

@@ -37,7 +37,7 @@ function Header() {
script.src =
environment === "production"
? `/CPL?/CPL/SERVICE/System.js`
: `/mockData/SERVICE/System.js`;
: `/CPLmockData/SERVICE/System.js`;
script.async = true;
script.onload = () => {

View File

@@ -56,7 +56,7 @@ function Kue705FO({
if (environment === "production") {
fileData = `/CPL?/CPL/lastTDR/slot${slot}.json`; // Produktions-Pfad
} else {
fileData = `/mockData/lastTDR/slot${slot}.json`; // Mock-Daten-Pfad für Entwicklung
fileData = `/CPLmockData/lastTDR/slot${slot}.json`; // Mock-Daten-Pfad für Entwicklung
}
fetch(fileData)
@@ -77,7 +77,7 @@ function Kue705FO({
if (environment === "production") {
fileData = `/CPL?/CPL/4000values/slot${slot}.json`; // Produktions-Pfad
} else {
fileData = `/mockData/4000values/slot${slot}.json`; // Mock-Daten-Pfad für Entwicklung
fileData = `/CPLmockData/4000values/slot${slot}.json`; // Mock-Daten-Pfad für Entwicklung
}
fetch(fileData)

View File

@@ -77,7 +77,7 @@ function Kabelueberwachung() {
if (environment === "production") {
script.src = `CPL?/CPL/SERVICE/kueData.js`; // Produktions-Pfad
} else {
script.src = `/mockData/SERVICE/kueData.js`; // Mock-Daten-Pfad
script.src = `/CPLmockData/SERVICE/kueData.js`; // Mock-Daten-Pfad
}
script.async = true;
document.body.appendChild(script);

View File

@@ -62,7 +62,7 @@ export async function loadWindowVariables() {
script.src =
environment === "production"
? `/CPL?/CPL/SERVICE/${src}`
: `/mockData/SERVICE/${src}`;
: `/CPLmockData/SERVICE/${src}`;
script.async = true;
script.onload = resolve;
script.onerror = reject;