From fd30b653e6babad27cb44afe3ed683ee831ff811 Mon Sep 17 00:00:00 2001 From: dtinth on MBP M1 Date: Sat, 3 Aug 2024 15:27:15 +0700 Subject: [PATCH] add redirects /c and /events/[eventId] --- src/pages/c.astro | 3 +++ src/pages/events/[eventId].astro | 4 ++++ 2 files changed, 7 insertions(+) create mode 100644 src/pages/c.astro create mode 100644 src/pages/events/[eventId].astro diff --git a/src/pages/c.astro b/src/pages/c.astro new file mode 100644 index 00000000..5b9ed179 --- /dev/null +++ b/src/pages/c.astro @@ -0,0 +1,3 @@ +--- +return Astro.redirect('/wiki/CurrentEvent') +--- diff --git a/src/pages/events/[eventId].astro b/src/pages/events/[eventId].astro new file mode 100644 index 00000000..525fce1f --- /dev/null +++ b/src/pages/events/[eventId].astro @@ -0,0 +1,4 @@ +--- +let { eventId } = Astro.params +return Astro.redirect(`/event/${eventId}`) +---