From 63c814c2447eb6bad98379e7e23df54e242c6460 Mon Sep 17 00:00:00 2001 From: Dicken Date: Tue, 26 May 2026 15:04:15 +0200 Subject: [PATCH] Dateien nach "frontend/src" hochladen --- frontend/src/calendar.jsx | 1 + 1 file changed, 1 insertion(+) diff --git a/frontend/src/calendar.jsx b/frontend/src/calendar.jsx index aebc194..443e92e 100644 --- a/frontend/src/calendar.jsx +++ b/frontend/src/calendar.jsx @@ -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}`);