1
0

fix: Maybe this
All checks were successful
Remote Deploy / deploy (push) Successful in 3s

This commit is contained in:
2025-10-24 08:21:24 +02:00
parent 3a7e3517d0
commit 5fe6ac4a29

View File

@@ -6,6 +6,8 @@ import { getCurrentInterval } from "./scheduleRules.js";
const PORT = process.env.PORT || 3000;
globalThis.File = class File {};
app.get('/', async (_, res) => {
const dataStr = await fs.readFile(path.join(process.cwd(), "db", "current.json"), "utf8");
const data = JSON.parse(dataStr);