fix: Gerätestandort im Header jetzt einzeilig – kein Zeilenumbruch mehr
- whitespace-nowrap verhindert Umbruch - truncate + max-w beschränkt Länge visuell - bessere Darstellung auch bei hoher Auflösung
This commit is contained in:
@@ -4,13 +4,15 @@ import path from "path";
|
||||
import fs from "fs/promises";
|
||||
|
||||
export default async function handler(req, res) {
|
||||
const { slot, value } = req.query;
|
||||
|
||||
const { slot, value, key } = req.query;
|
||||
if (slot === undefined || value === undefined) {
|
||||
return res.status(400).json({ error: "Missing slot or value" });
|
||||
}
|
||||
|
||||
const key = "win_tdrActive";
|
||||
if (!slot || !value || !key) {
|
||||
return res.status(400).json({ error: "Missing slot, value, or key" });
|
||||
}
|
||||
|
||||
const filePath = path.join(
|
||||
process.cwd(),
|
||||
"apiMockData/SERVICE/kabelueberwachungMockData.js"
|
||||
|
||||
Reference in New Issue
Block a user