Dynamically generate event calendar #332

Merged
a3thakra merged 25 commits from adi-ical into main 2021-09-27 16:20:20 -04:00
2 changed files with 1381 additions and 1362 deletions
Showing only changes of commit 5dbc337288 - Show all commits

File diff suppressed because it is too large Load Diff

View File

@ -28,11 +28,11 @@ export async function generateCalendar() {
? metadata.location
: `University of Waterloo - ${metadata.location}`,
organizer: "exec@csclub.uwaterloo.ca",
url: path.join(
"https://csclub.uwaterloo.ca",
process.env.NEXT_PUBLIC_BASE_PATH ?? "/",
url: `https://${path.join(
"csclub.uwaterloo.ca",
process.env.NEXT_PUBLIC_BASE_PATH ?? "",
metadata.permaLink
),
)}`,
})),
});