feat: Meldung für Events darstellen (Kalibrierung, TDR ud Schleifenmessung)
This commit is contained in:
@@ -18,6 +18,9 @@ export default async function handler(
|
||||
|
||||
try {
|
||||
const data = await fs.readFile(filePath, "utf-8");
|
||||
res.setHeader("Content-Type", "application/javascript; charset=utf-8");
|
||||
// Prevent caching during development
|
||||
res.setHeader("Cache-Control", "no-store, max-age=0");
|
||||
res.status(200).send(data);
|
||||
} catch (error) {
|
||||
console.error(
|
||||
|
||||
Reference in New Issue
Block a user