Add per-set color picker and Wettkampf countdown timer with auto-submit

This commit is contained in:
2026-04-26 11:53:11 +02:00
parent 5980aaab41
commit a6fd9d26f8
3 changed files with 150 additions and 51 deletions
+1 -1
View File
@@ -90,7 +90,7 @@ function rewriteImageUrls(rows) {
app.get('/api/sets', (req, res) => {
const config = readConfig();
res.json((config.sets || []).map((s) => ({ id: s.id, name: s.name, wettkampfCount: s.wettkampfCount || null })));
res.json((config.sets || []).map((s) => ({ id: s.id, name: s.name, wettkampfCount: s.wettkampfCount || null, color: s.color || null, wettkampfTimer: s.wettkampfTimer || null })));
});
app.get('/api/sets/:id/questions', async (req, res) => {