Skip to content

Commit

Permalink
Add redirect for /search?tab=organizers
Browse files Browse the repository at this point in the history
  • Loading branch information
vhande committed Nov 7, 2024
1 parent 65c190d commit b8855e9
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions src/redirects.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -101,9 +101,16 @@ const getRedirects = (
destination: '/organizers/:organizerId/ownerships',
permanent: false,
},
publicRuntimeConfig.ownershipEnabled === 'true' && {
source: '/manage/organizations',
destination: '/search?tab=organizers',
publicRuntimeConfig.ownershipEnabled === 'false' && {
source: '/search',
has: [
{
type: 'query',
key: 'tab',
value: 'organizers',
},
],
destination: '/404',
permanent: false,
},
{
Expand Down

0 comments on commit b8855e9

Please sign in to comment.