Skip to content

Commit

Permalink
Merge pull request #2152 from NYPL/HOTFIX-disable-account-route
Browse files Browse the repository at this point in the history
Disable /account routes, redirect to Home
  • Loading branch information
nonword authored May 17, 2024
2 parents 0805191 + 752af6c commit 2eeae51
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/app/routes/routes.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ const routes = {
<Route path="/hold/confirmation/:bibId-:itemId" component={HoldConfirmation} />
<Route path="/subject_headings/:subjectHeadingUuid" component={SubjectHeadingShowPage} />
<Route path="/subject_headings" component={SubjectHeadingsIndexPage} />
<Route path="/account(/:content)" component={AccountPage} />
<Redirect from="/account(/:content)" to="/" />
<Route path="/accountError" component={AccountError} />
<Route path="/404/redirect" component={Redirect404} />
<Route path="/404" component={NotFound404} />
Expand All @@ -61,7 +61,7 @@ const routes = {
<Route path={`${baseUrl}/hold/confirmation/:bibId-:itemId`} component={HoldConfirmation} />
<Route path={`${baseUrl}/subject_headings/:subjectHeadingUuid`} component={SubjectHeadingShowPage} />
<Route path={`${baseUrl}/subject_headings`} component={SubjectHeadingsIndexPage} />
<Route path={`${baseUrl}/account(/:content)`} component={AccountPage} />
<Redirect from={`${baseUrl}/account(/:content)`} to={baseUrl} />
<Route path={`${baseUrl}/accountError`} component={AccountError} />
<Route path={`${baseUrl}/404/redirect`} component={Redirect404} />
<Route path={`${baseUrl}/404`} component={NotFound404} />
Expand Down

0 comments on commit 2eeae51

Please sign in to comment.