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:
parent
86c3b6651b
commit
ce5c523efb
@ -66,7 +66,7 @@ const server = serve({
|
|||||||
title: e.title.replace(clubInfo?.name || '', ''),
|
title: e.title.replace(clubInfo?.name || '', ''),
|
||||||
// end: dayjs(event.startDate).add(6, 'h').add(30, 'minute').format('YYYY-MM-DD HH:mm'),
|
// end: dayjs(event.startDate).add(6, 'h').add(30, 'minute').format('YYYY-MM-DD HH:mm'),
|
||||||
// description: 'Annual 10-kilometer run in Boulder, Colorado',
|
// description: 'Annual 10-kilometer run in Boulder, Colorado',
|
||||||
// url: e.url,
|
url: `https://tt.ksr.la/event/${e.matchId}`,
|
||||||
...(e.location ? { location: e.location } : {}),
|
...(e.location ? { location: e.location } : {}),
|
||||||
// geo: { lat: events.location.lat, lon: events.location.lng },
|
// geo: { lat: events.location.lat, lon: events.location.lng },
|
||||||
alarms: [
|
alarms: [
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user