Skip to content

Commit

Permalink
add redirects /c and /events/[eventId]
Browse files Browse the repository at this point in the history
  • Loading branch information
dtinth committed Aug 3, 2024
1 parent 3918ffa commit fd30b65
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/pages/c.astro
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
return Astro.redirect('/wiki/CurrentEvent')
---
4 changes: 4 additions & 0 deletions src/pages/events/[eventId].astro
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
let { eventId } = Astro.params
return Astro.redirect(`/event/${eventId}`)
---

0 comments on commit fd30b65

Please sign in to comment.