Skip to content

Commit

Permalink
fix(router): show 404 page for invalid URLs (#382)
Browse files Browse the repository at this point in the history
Closes #379
  • Loading branch information
mdonadoni committed Jan 15, 2024
1 parent db2e82b commit c18e81d
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions reana-ui/src/components/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,6 @@ export default function App() {
<Route path="/privacy-notice" element={<PrivacyNotice />} />
<Route path="/signin_callback" element={<OAuthSignin />} />
<Route
exact
path="/"
element={
<RequireAuth>
Expand Down Expand Up @@ -117,7 +116,6 @@ export default function App() {
}
/>
<Route
exact
path="/launch"
element={
<RequireAuth>
Expand All @@ -126,7 +124,6 @@ export default function App() {
}
/>
<Route
exact
path="/launcher-badge"
element={
<RequireAuth>
Expand All @@ -135,7 +132,7 @@ export default function App() {
}
/>
<Route
path="/"
path="*"
element={
<RequireAuth>
<NotFound />
Expand Down

0 comments on commit c18e81d

Please sign in to comment.