Dateien nach "frontend/src" hochladen

This commit is contained in:
2026-05-26 15:04:15 +02:00
parent 9354c1399d
commit 63c814c244

View File

@@ -114,6 +114,7 @@ export default function CalendarWidget() {
if (res.ok) {
const text = await res.text();
dbg.push(`Bytes: ${text.length}, VCALENDAR: ${text.includes('BEGIN:VCALENDAR')}, VEVENTs: ${(text.match(/BEGIN:VEVENT/g)||[]).length}`);
dbg.push(`Inhalt (erste 200 Zeichen): ${text.slice(0,200).replace(/\n/g,' ')}`);
const evs = parseIcal(text).map(e => ({ ...e, color: f.color, feedName: f.name }));
dbg.push(`Geparst: ${evs.length} Termine`);
if (evs.length > 0) dbg.push(`Erstes: ${evs[0].summary} @ ${evs[0].dtstart}`);