Skip to content

Commit

Permalink
Proper redirect on calendar/today
Browse files Browse the repository at this point in the history
  • Loading branch information
anwolosz committed Dec 1, 2024
1 parent 404e8da commit 8aaba07
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/router/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,8 @@ const router = createRouter({
name: 'index',
component: IndexView
},
...languageDefaultRedirect('calendar/today'),
...translationDefaultRedirect('calendar/today'),
{
path: `/:language${languageOptionsRegex}?/:translation${translationOptionsRegex}?/calendar/today`,
name: 'today',
Expand Down

0 comments on commit 8aaba07

Please sign in to comment.