fix(index): update event URL format in server configuration

- Changed the `url` property in the serve configuration from a commented-out placeholder to an active template string.
- The new URL format `https://tt.ksr.la/event/${e.matchId}` replaces the previous implementation where the URL was disabled.
- This ensures that event links are correctly generated and clickable within the calendar view, improving user navigation to event details.
This commit is contained in:
kyuuseiryuu 2026-03-16 22:45:42 +09:00
parent 86c3b6651b
commit ce5c523efb

View File

@ -66,7 +66,7 @@ const server = serve({
title: e.title.replace(clubInfo?.name || '', ''),
// end: dayjs(event.startDate).add(6, 'h').add(30, 'minute').format('YYYY-MM-DD HH:mm'),
// description: 'Annual 10-kilometer run in Boulder, Colorado',
// url: e.url,
url: `https://tt.ksr.la/event/${e.matchId}`,
...(e.location ? { location: e.location } : {}),
// geo: { lat: events.location.lat, lon: events.location.lng },
alarms: [