feat: füge LiveTickerBanner-Komponente hinzu und erweitere Spielplan-Daten mit MeetingId und Live-Daten-Flag
All checks were successful
Code Analysis and Production Deploy / analyze (push) Successful in 6m28s
Code Analysis and Production Deploy / deploy-production (push) Has been skipped
Code Analysis and Production Deploy / deploy-test (push) Successful in 3m17s

This commit is contained in:
Torsten Schulz (local)
2026-10-22 23:41:33 +02:00
parent 3dc293517f
commit 6b9198ac41
7 changed files with 143 additions and 0 deletions

View File

@@ -0,0 +1,10 @@
import { refreshLiveTicker } from '../utils/live-ticker.js'
import { error as loggerError } from '../utils/logger.js'
export default defineNitroPlugin((nitroApp) => {
const run = () => refreshLiveTicker().catch(error => loggerError('[live-ticker] Aktualisierung fehlgeschlagen', { error }))
const timer = setInterval(run, 30_000)
timer.unref?.()
run()
nitroApp.hooks.hookOnce('close', () => clearInterval(timer))
})