Skip to content

Commit

Permalink
Merge pull request #10841 from DestinyItemManager/routing
Browse files Browse the repository at this point in the history
Fix routing
  • Loading branch information
bhollis authored Dec 12, 2024
2 parents 47b22fb + f7c65eb commit 44aff1a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions src/app/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -136,9 +136,7 @@ export default function App() {
</ErrorBoundary>
}
/>
<Route path="armory">
<Route path="*" element={<DefaultAccount />} />
</Route>
<Route path="armory/*" element={<DefaultAccount />} />
<Route path=":membershipId/:destinyVersion/*" element={<Destiny />} />
<Route path="*" element={<DefaultAccount />} />
</>
Expand Down
2 changes: 1 addition & 1 deletion src/app/shell/Destiny.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@ export default function Destiny() {
}
/>
)}
<Route path="*" element={<Navigate to="inventory" />} />
<Route path="*" element={<Navigate to="../inventory" />} />
</Routes>
</div>
<LoadoutDrawerContainer account={account} />
Expand Down

0 comments on commit 44aff1a

Please sign in to comment.