esLint
This commit is contained in:
@@ -20,6 +20,7 @@ export default async function handler(
|
||||
const data = await fs.readFile(filePath, "utf-8");
|
||||
res.status(200).send(data);
|
||||
} catch (error) {
|
||||
console.error("Error processing systemVoltTempAPIHandler:", error);
|
||||
res.status(404).json({ error: "File not found" });
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user