1
0

chore: Started implementing

This commit is contained in:
2026-02-02 08:36:43 +01:00
parent e78ee594a0
commit f34db1c6e8
7 changed files with 814 additions and 56 deletions

View File

@@ -49,15 +49,6 @@ app.get('/', async (req, res) => {
}
});
app.get('/versioned/v1', async (_, res) => {
const dataStr = await fs.readFile(path.join(process.cwd(), "db", "v1.json"), "utf8");
const data = JSON.parse(dataStr);
data["status"]["currentUpdateSchedule"] = getCurrentInterval();
res.json(data);
});
VERSIONS.forEach((version) => {
app.get(`/versioned/${version}`, async (_, res) => {
try {